Python: Make __str__
work for CompileError
's diagnostics
field
#5474
Labels
__str__
work for CompileError
's diagnostics
field
#5474
As seen in #5469, when printing the
CompileError
struct, thediagnostics
are not correctly transformed to a readable representation. While__str__
is implemented onPyDiagnostics
, somehow it doesn't transcend into the list that's created from it.Fixing this would make it easier to quickly discover the root cause for a run-time generated Slint compile error.
The text was updated successfully, but these errors were encountered: