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
[error] 5|Main.fooCallerM //error
[error] | ^^^^^^^^^^^^^^^
[error] | illegal access to protected method foo in objectMain from objectTest
[error] |This location contains code that was inlined from Main.scala:9
[error] |This location contains code that was inlined from Main.scala:9
Expectation
No error.
Note: the minimized example reports the warning Canceled splice directly inside a quote. '{ ${ XYZ } } is equivalent to XYZ., which is true for this simple case and can be ignored.
The text was updated successfully, but these errors were encountered:
It seems that #12948 was not completely resolved. I updated the minimized project branch.
Compiler version
v3.1.0-RC2
Minimized code
See minimized project at: https://github.com/soronpo/dottybug/tree/inline_illegal_access
mylib/Main.scala
Test.scala
Output
Expectation
No error.
Note: the minimized example reports the warning
Canceled splice directly inside a quote. '{ ${ XYZ } } is equivalent to XYZ.
, which is true for this simple case and can be ignored.The text was updated successfully, but these errors were encountered: