when calling function stored in local variable as unary operation, don't forget to push function instance (KT-1953)
I'm sure that there are similar cases that still don't work; please let me know if you find any #KT-1953 fixed
This commit is contained in:
@@ -96,4 +96,14 @@ public class ExtensionFunctionsTest extends CodegenTestCase {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.BUILTINS);
|
||||
blackBoxFile("regressions/kt1290.kt");
|
||||
}
|
||||
|
||||
public void testKt1953() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
|
||||
blackBoxFile("regressions/kt1953.kt");
|
||||
}
|
||||
|
||||
public void testKt1953Class() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
|
||||
blackBoxFile("regressions/kt1953_class.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user