load 'this' instead of $classobj if we're inside class object's constructor

#KT-2384 Fixed
This commit is contained in:
Alexander Udalov
2012-07-09 22:11:02 +04:00
parent 3d8c6065c5
commit a07954eaac
3 changed files with 26 additions and 2 deletions
@@ -451,4 +451,9 @@ public class ClassGenTest extends CodegenTestCase {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("regressions/kt2224.kt");
}
public void testKt2384() {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("regressions/kt2384.kt");
}
}