-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
area:specbacklogNo work planned on this by the core team for the time being.No work planned on this by the core team for the time being.itype:bug
Description
Compiler version
3.4.0-RC1-bin-SNAPSHOT-git-5454110
Minimized code
Welcome to Scala 3.4.0-RC1-bin-SNAPSHOT-git-5454110 (21, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.
scala> val this = this
-- [E040] Syntax Error: ------------------------------------------------------------------------------------------------
1 |val this = this
| ^
| an identifier expected, but 'this' found
|
| longer explanation available when compiling with `-explain`
scala>
Expectation
Don't disallow keywords which are patterns.
Metadata
Metadata
Assignees
Labels
area:specbacklogNo work planned on this by the core team for the time being.No work planned on this by the core team for the time being.itype:bug