JS backend: fix access to class object members from containing class with implicit receiver.

#KT-4130 Fixed
This commit is contained in:
Zalim Bashorov
2014-03-17 21:59:00 +04:00
parent 1ba0b01456
commit 71bfa51ab2
7 changed files with 105 additions and 2 deletions
@@ -0,0 +1,12 @@
package foo
class A {
fun foo() = "O"
class object {
fun bar() = "K"
}
val f = { foo() + bar() }
}
fun box(): String = A().f()