when calling extension function, correctly put receiver on top of stack if it was generated before the extension function object (KT-1918)
This commit is contained in:
@@ -386,4 +386,9 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
|
||||
blackBoxFile("classes/resolveOrder.jet");
|
||||
}
|
||||
|
||||
public void testKt1918() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
|
||||
blackBoxFile("regressions/kt1918.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user