Open qarmin opened 10 months ago
Thanks for the bug report.
I could also reproduce it in C++, where our codegen generates +inf
which is not a valid number literal in C++.
Also in C++, if the division by zero happens at runtime on integer, we get a crash. (crash don't happen in rust or interpreter)
What's left for this issue to be done? Should we detect division by zero at run-time in C++? (My feeling is no, but happy to discuss of course)
I think we should do something about it.
The current situation is not well defined. We sometimes get crashes/panic at runtime, or NaN where we might not expect them. What should we do instead?
Original report (but compilation problem was fixed)
Slint 1.3.0, Slint LSP nightly
works fine in lsp, but fails to compile