test for obsolete KT-1649

This commit is contained in:
Alex Tkachman
2012-08-16 15:48:45 +03:00
parent 0b054f224c
commit 17a9772fee
3 changed files with 46 additions and 18 deletions
@@ -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!!()
}
}