New tests for outer class info

This commit is contained in:
Mikhael Bogdanov
2014-05-14 15:02:45 +04:00
parent 1a164cade8
commit 449e26ce6d
7 changed files with 201 additions and 9 deletions
@@ -0,0 +1,14 @@
class A {
fun foo() {
inlineFun { "test" }
}
inline fun inlineFun(lambda: () -> Unit) {
val s = object {
fun run() {
lambda()
}
}
s.run()
}
}