Fix assertion caused by wrong equality of DescriptorBasedFunctionHandleForJvm
In case of the same class defined in different modules they contain different descriptors instances in their scope that might lead to failing assertion in findConcreteSuperDeclaration because there are overridden from different modules It might happen even in the compiler because of different built-in modules defined for sources-module and for dependencies' one ^KT-29320 Fixed
This commit is contained in:
+5
@@ -13899,6 +13899,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/jvm8/simpleProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("treeMapBridge.kt")
|
||||
public void testTreeMapBridge() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvm8/treeMapBridge.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/jvm8/defaults")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Reference in New Issue
Block a user