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
@annotation.compileTimeOnly("Foo should be erased") traitFoo@annotation.compileTimeOnly("Bar should be erased") classBarvalfoo=newFoo {}
valbar=newBar {}
Output
compiles ok
Expectation
error Foo should be erased, Bar should be erased, as in Scala 2.13
The text was updated successfully, but these errors were encountered:
Not sure we need to have the same behavior here. compileTimeOnly is not specced anywhere as far as I know. And it will be replaced by erased, or so we hope.
Minimized code
Output
compiles ok
Expectation
error
Foo should be erased
,Bar should be erased
, as in Scala 2.13The text was updated successfully, but these errors were encountered: