Files
kotlin-fork/compiler/testData/diagnostics/tests/SafeCallNonNullReceiver.jet
T
Stepan Koltsov 07ff53d456 add trailing newlines to test files
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00

7 lines
157 B
Plaintext

// http://youtrack.jetbrains.net/issue/KT-418
fun ff() {
val i: Int = 1
val <!UNUSED_VARIABLE!>a<!>: Int = i<!UNNECESSARY_SAFE_CALL!>?.<!>plus(2)
}