test for already fixed KT-1611

This commit is contained in:
Dmitry Jemerov
2012-06-08 16:44:10 +02:00
parent f05dc65f2c
commit 5c21564b05
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,11 @@
fun box(): String {
return Foo().doBar("OK")
}
class Foo() {
val bar : (str : String) -> String = { it }
fun doBar(str : String): String {
return bar(str);
}
}