test for fixed KT-1721
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class T(val f : () -> Any?) {
|
||||
fun call() : Any? = f()
|
||||
}
|
||||
fun box(): String {
|
||||
return T({ "OK" }).call() as String
|
||||
}
|
||||
Reference in New Issue
Block a user