avoid coercing 'this' to a supertype; cleaner handling of stackvalues for 'this' and 'super' (KT-2395)

This commit is contained in:
Dmitry Jemerov
2012-07-11 16:59:01 +02:00
parent 739a1f8245
commit de3f5d0e2d
7 changed files with 45 additions and 33 deletions
@@ -471,4 +471,9 @@ public class ClassGenTest extends CodegenTestCase {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxMultiFile("regressions/kt2060_1.kt", "regressions/kt2060.kt");
}
public void testKt2395() {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxMultiFile("regressions/kt2395.kt");
}
}