KT-2657 Fixed incorrect stack values order in delegation methods codegen #KT-2657 Fixed

This commit is contained in:
Kirill Berezin
2012-09-06 23:45:19 +04:00
parent 454ad48d5b
commit 6e951685de
3 changed files with 40 additions and 2 deletions
@@ -78,6 +78,11 @@ public class ClassGenTest extends CodegenTestCase {
blackBoxFile("classes/delegation4.kt");
}
public void testDelegationMethodsWithArgs() throws Exception {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("classes/delegationMethodsWithArgs.kt");
}
public void testFunDelegation() throws Exception {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("classes/funDelegation.jet");