test for obsolete KT-1649
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
trait A {
|
||||
val method : (() -> Unit)?
|
||||
}
|
||||
|
||||
fun test(a : A) {
|
||||
if (a.method != null) {
|
||||
a.method!!()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
trait A {
|
||||
val method : () -> Unit?
|
||||
}
|
||||
|
||||
fun test(a : A) {
|
||||
if (a.method != null) {
|
||||
a.method!!()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user