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] 4 | println(Show.deriveWithMacro[Foo].show(Foo("")))
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object creation impossible, since def show(t: T): String is not defined
[error] | (Note that T does not match Foo)
[error] | This location contains code that was inlined from Show.scala:13
[error] | This location contains code that was inlined from Show.scala:13
[error] one error found
[error] (muService / Compile / compileIncremental) Compilation failed
Expectation
No compile error, prints TODO
The text was updated successfully, but these errors were encountered:
Apologies if I'm doing something stupid but I think this code should work?
Dotty version is
0.25.0-bin-20200516-9450bf2-NIGHTLY
.Minimized code
Output
Expectation
No compile error, prints
TODO
The text was updated successfully, but these errors were encountered: