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
% dotr outer.inner.TestException in thread "main" java.lang.IllegalAccessError: tried to access classouter.A from classouter.inner.Test$
at outer.inner.Test$.main(i3302.scala:7)
at outer.inner.Test.main(i3302.scala
This code compiles and run with scalac because the class A is emitted as public whereas dotty emits it as private.