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: tried to access method B.foo()I from classtargetName$package$
at targetName$package$.Test(targetName.scala:10)
at Test.main(targetName.scala:8)
Expectation
A compilation error, similar to what one gets when trying to define a private def that shadows a public one.
The text was updated successfully, but these errors were encountered:
Compiler version
3.3.0
Minimized code
Output
Expectation
A compilation error, similar to what one gets when trying to define a private def that shadows a public one.
The text was updated successfully, but these errors were encountered: