You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, a number of Scala language features that have strictly defined semantics on JVM but are undefined in Scala Native. While this provides greater flexibility in terms of implementation freedom, it burdens the users with harder to debug crashes.
To make the situation more manageable we are going to:
Make null dereferencing deterministically crash with a the stack trace.
As of latest master (after #1397 merge) we don't have any expected undefined behavior in the NIR operations except for stack overflows and out-of-memory errors being reported differently than on JVM. I also opened #1396 to track progress on making stack overflows nicer and taking advantage of the fact that we might get rid off stack overflow as a concept altogether.
Currently, a number of Scala language features that have strictly defined semantics on JVM but are undefined in Scala Native. While this provides greater flexibility in terms of implementation freedom, it burdens the users with harder to debug crashes.
To make the situation more manageable we are going to:
unreachable
should crash with a stack trace. (PR: Make NIR's unreachable defined behavior #1392)Make stack overflow deterministically crash with a stack trace.(See Proposal: automatically growable stack #1396)The text was updated successfully, but these errors were encountered: