Files
kotlin-fork/compiler/testData/psi/recovery/InvalidCharInSingleLineLambda.kt

7 lines
196 B
Kotlin
Vendored

// checks that invalid characters (inserted e.g. by completion) inside single-line block do not cause wrong scopes for declarations below
fun foo() {
x { v.s$ }
val v = ""
}
fun bar() { }