JVM IR: Fix compilation of inline functions in anonymous objects...
...in class members. The corresponding classes end up nested in the class initializer of the surrounding class and we need to take this into account when creating instances of ClassCodegen. This fixes KT-40332 on the JVM IR backend.
This commit is contained in:
committed by
Alexander Udalov
parent
ce02982226
commit
ea98062241
+5
@@ -4045,6 +4045,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/classes/kt3546.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt40332.kt")
|
||||
public void testKt40332() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classes/kt40332.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt454.kt")
|
||||
public void testKt454() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classes/kt454.kt");
|
||||
|
||||
Reference in New Issue
Block a user