Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/Jet169.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

9 lines
231 B
Plaintext

fun set(<!UNUSED_PARAMETER!>key<!> : String, <!UNUSED_PARAMETER!>value<!> : String) {
val a : String? = ""
when (a) {
"" -> a<!UNSAFE_CALL!>.<!>get(0)
is String, is Any -> a.compareTo("")
else -> a.toString()
}
}