Test for not reproduced KT-2700

#KT-2700 Can't Reproduce
This commit is contained in:
Mikhael Bogdanov
2013-06-10 15:56:14 +04:00
parent 16d71eeeac
commit 4ef2f997ed
2 changed files with 22 additions and 0 deletions
@@ -0,0 +1,17 @@
package a.b
trait Test {
fun invoke(): String {
return "OK"
}
}
private val a : Test = {
object : Test {
}
}()
fun box(): String {
return a.invoke();
}