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
java.lang.AssertionError: assertion failed: Tree had an unexpected owner for method $anonfun
Expected: val __s001 (InjectScript$.ScriptX.$$__s001)
|But was: val macro (InjectScript$.ScriptX._$macro)
Surface.methodsOf[X] needs to generate several code blocks for building Surface classes, so calling it outside the constructor argument is recommended.
When building project from https://github.com/OndrejSpanel/Scala3KeyNotFound with
-Xcheck-macros
, an assertion is shown:The project is:
When building without the option, Scala 3 compiler crashes (reported as scala/scala3#19575)
The text was updated successfully, but these errors were encountered: