Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/kt337.kt
T

16 lines
176 B
Kotlin
Vendored

// FIR_IDENTICAL
//KT-337 Can't break a line before a dot
class A() {
fun foo() {}
}
fun test() {
val a = A()
a
.foo() // Should be a valid expression
}