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
When adding scalacOptions += "-Xlint", the compilation fails as follows:
[error] /home/hhrutz/Documents/temp/interp_bug/src/main/scala/foo/Foo.scala:8: recursive value bar needs type
[error] valbar="$bar".ir
[error] ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed
Obviously the linter doesn't get to warn me about possible missing string interpolation (the dollar is intended in my case and not an interpolator), but then gets stuck assuming that $bar is interpolated bar.
The text was updated successfully, but these errors were encountered:
Here is code that compiles fine without linter and fails when linter is enabled:
When adding
scalacOptions += "-Xlint"
, the compilation fails as follows:Obviously the linter doesn't get to warn me about possible missing string interpolation (the dollar is intended in my case and not an interpolator), but then gets stuck assuming that
$bar
is interpolatedbar
.The text was updated successfully, but these errors were encountered: