Kotlin ::class
is interpreted operator followed by class-Keyword
#1571
Labels
bugfix-request
A request for a bugfix to be developed.
Name of the lexer
Kotlin
Code sample
A sample of the code that produces the bug.
Code Sample
Additional context
The lexer correctly reads
"Hello"
as string,::
as operator, and when it readsclass
it pushes:class
on the stack. With this context no matching rule is found and an error is produced.Working example where the
class
-name is avoidedWriting
class
here is valid syntax. I am interested in fixing this, but I cannot guarantee success ;)The text was updated successfully, but these errors were encountered: