Aggressive "inline
must be followed by an if
or a match
" error in Scala 2
#7066
Labels
upstream-fix-needed
Waiting on a fix upstream
Describe the bug
Define a method called
inline
in Scala 2 code, then call it:The call to
inline
is flagged as a compile error witheven though Scala 2 accepts this code.
This worked before. It was apparently broken by v1.4.2.
Expected behavior
No compile error in the IDE.
Operating system
Windows
Editor/Extension
VS Code
Version of Metals
v1.45.0
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered: