Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/kt337.kt
T
Andrey Breslav 3d8d92c7d3 JetDiagnosticsTest migrated to TestGenerator
- test data files renamed from *.jet to *.kt
2012-07-10 14:48:11 +04:00

15 lines
159 B
Kotlin
Vendored

//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
}