- Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Compiler version
Minimized code
def m1(opaque: Any): Any = opaque def m2() = ???
Output
-- [E103] Syntax Error:playground.scala:2:2 --------------------------------------- 2 | opaque | ^^^^^^ | Illegal start of statement: this modifier is not allowed here | | longer explanation available when compiling with `-explain` 1 error found
Expectation
Should compile and not considered a modifier
Note
Found during the Spree with @KacperFKorban and @kasiaMarek