afc0892d1f
Lexer monitors "long string template" state end and will produce LONG_TEMPLATE_ENTRY_END token when it is reached. If parser continues without waiting for it, it will eventually get handling token that will produce irrelevant error. Such behaviour also breaks lazy elements (LAMBDA_EXPRESSION in this case) contract: range of parsed text in eager mode should be same to one parsed in lazy mode. #KT-14865 Fixed
4 lines
52 B
Kotlin
Vendored
4 lines
52 B
Kotlin
Vendored
fun main(args: Array<String>) {
|
|
{ "${"}
|
|
{ "" }
|
|
} |