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
Using Metals: show semanticDB detailed one can see that there are two occurrences which match FooFailure:
[3:13..3:23) <= empty/Main.FooFailure#
[4:32..4:35) => empty/Main.FooFailure# - this matches exactly msg in s"Error: $msg"
It seems like it's an issue with class that extends java one(?). I've tried extending abstract class and everything was working.
The text was updated successfully, but these errors were encountered:
Actually, one is a reference and the other a definition. Looks like somehow this only happens in a string interpolation. Looks like msg should be a reference to the constructor param in FooFailure, but is instead the object.
related to the scalameta/metals#4423
Using
Metals: show semanticDB detailed
one can see that there are two occurrences which match FooFailure:[3:13..3:23) <= empty/Main.FooFailure#
[4:32..4:35) => empty/Main.FooFailure# - this matches exactly
msg
ins"Error: $msg"
It seems like it's an issue with class that extends java one(?). I've tried extending
abstract class
and everything was working.The text was updated successfully, but these errors were encountered: