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
@coreywoodfield i don't think this repo defines the semanticdb plugin; therefore, please try to reproduce with scalameta directly and supply the dialect which shows this error.
We do publish semanticdb plugin and it uses the same version of scalameta.
oh, didn't realize that.
This looks like one of the issues already reported, no?
possibly, need to test. backquoted id can be a leading infix, and in the form presented here was fixed in 4.9.1 (if what's reproducible in 4.9.1 is exactly this). if, however, it comes with a trailing blank line, it's the same issue as what #3606 fixed.
Somewhere between semanticdb version 4.7.8 and 4.8.15, the following bug was introduced. It is also reproducible in 4.9.1.
scala version: 2.13.12
Bug reproduction steps
Attempt to compile the following code with
scalac Test.scala -Xplugin:semanticdb-plugin_singlejar.jar -Xsource:3
Note that it fails with
If the newline is removed
it compiles just fine. If
-Xsource:3
or-Xplugin:semanticdb-plugin_singlejar.jar
are left off, it compiles fine.Expected behavior
The semanticdb plugin does not cause compiler errors when run with
-Xsource:3
on code that compiles without the pluginThe text was updated successfully, but these errors were encountered: