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
Milestoned for 2.13.6 since, as we discovered at scala/scala#9336, we need to make compiler changes, re-STARR, and then change the annotations to extend @ConstantAnnotation. (And although we can do additional re-STARRs between releases, we prefer not to.)
I tried adding an
@implicitNotFound
annotation on a type, and IntelliJ was helpful enough to offer a multiline default with the.stripMargin
trick:Unfortunately, even though this code compiled fine, the annotation didn't work, I was not able to see the custom message.
Removing the
stripMargin
code, and turning it into a string literal solved the issue.I believe this should be treated as a compile-time error, too easy to make this mistake.
The text was updated successfully, but these errors were encountered: