Files
kotlin-fork/compiler/testData/codegen/regressions/kt1649_1.kt
T
2012-08-16 15:48:45 +03:00

9 lines
118 B
Kotlin

trait A {
val method : (() -> Unit)?
}
fun test(a : A) {
if (a.method != null) {
a.method!!()
}
}