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
@@ -16,11 +16,15 @@ public final class ClassObjectTest extends SingleFileTranslationTest {
checkFooBoxIsOk();
}
public void testWithExtension() throws Exception {
public void testWithInheritance() throws Exception {
checkFooBoxIsOk();
}
public void testSetVar() throws Exception {
checkFooBoxIsOk();
}
public void testAccessing() throws Exception {
checkFooBoxIsOk();
}
}
@@ -163,4 +163,8 @@ public final class ClosureTest extends SingleFileTranslationTest {
public void testClosureThisInLambdaInsideMethod() throws Exception {
checkFooBoxIsOk();
}
public void testClosureThisAndClassObject() throws Exception {
checkFooBoxIsOk();
}
}