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
2 |inline def foo(x : Any) : Unit = ${fooMacro[x.type]}
| ^
| access to parameter x from wrong staging level:
| - the definition is at level 0,
| - but the access is at level -1.
As x is used in a type and is erased at runtime it should be a staging level error. This must be fixed in PCPCheckAndHeal.
Uh oh!
There was an error while loading. Please reload this page.
Compiler version
v3.0.1-RC2 (also tested on nightly)
Minimized code
Output
Expectation
No error.
The text was updated successfully, but these errors were encountered: