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
Exception in thread "main" java.lang.IllegalAccessError:Qux.parent()Lscala/Option;
at Foo.getParent(Foo.scala:3)
at Bar.getParent(Foo.scala:6)
at Qux$.main(Foo.scala:12)
at Qux.main(Foo.scala)
expectation
It should print None, like Scala 2 does. Note that changing Qux's constructor parameter name to something other than parent fixes the issue.
The text was updated successfully, but these errors were encountered:
- Move main optimization after unpickling, so that changes
to parameters in superclasses do not break Tasty compatibility.
- Replace internal Alias annotation by SuperParamAlias flag
- Don't generate illegal private overrides
- Make the transformation more robust under separate compilation
and wrt compilation order
minimized code
This code compiles, but crashes at runtime.
expectation
It should print
None
, like Scala 2 does. Note that changingQux
's constructor parameter name to something other thanparent
fixes the issue.The text was updated successfully, but these errors were encountered: