FIR2IR: Fix incorrect fake override structure for delegated member in supertype
In C, fake override for `name` should have B::name as base symbol, not Named::name
This commit is contained in:
Generated
+5
@@ -374,6 +374,11 @@ public class CompileKotlinAgainstKotlinTestGenerated extends AbstractCompileKotl
|
||||
runTest("compiler/testData/compileKotlinAgainstKotlin/nestedTypeAliasExpansion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noExplicitOverrideForDelegatedFromSupertype.kt")
|
||||
public void testNoExplicitOverrideForDelegatedFromSupertype() throws Exception {
|
||||
runTest("compiler/testData/compileKotlinAgainstKotlin/noExplicitOverrideForDelegatedFromSupertype.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("optionalAnnotation.kt")
|
||||
public void testOptionalAnnotation() throws Exception {
|
||||
runTest("compiler/testData/compileKotlinAgainstKotlin/optionalAnnotation.kt");
|
||||
|
||||
Generated
+5
@@ -375,6 +375,11 @@ public class IrCompileKotlinAgainstKotlinTestGenerated extends AbstractIrCompile
|
||||
runTest("compiler/testData/compileKotlinAgainstKotlin/nestedTypeAliasExpansion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noExplicitOverrideForDelegatedFromSupertype.kt")
|
||||
public void testNoExplicitOverrideForDelegatedFromSupertype() throws Exception {
|
||||
runTest("compiler/testData/compileKotlinAgainstKotlin/noExplicitOverrideForDelegatedFromSupertype.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("optionalAnnotation.kt")
|
||||
public void testOptionalAnnotation() throws Exception {
|
||||
runTest("compiler/testData/compileKotlinAgainstKotlin/optionalAnnotation.kt");
|
||||
|
||||
+5
@@ -375,6 +375,11 @@ public class JvmIrAgainstOldBoxTestGenerated extends AbstractJvmIrAgainstOldBoxT
|
||||
runTest("compiler/testData/compileKotlinAgainstKotlin/nestedTypeAliasExpansion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noExplicitOverrideForDelegatedFromSupertype.kt")
|
||||
public void testNoExplicitOverrideForDelegatedFromSupertype() throws Exception {
|
||||
runTest("compiler/testData/compileKotlinAgainstKotlin/noExplicitOverrideForDelegatedFromSupertype.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("optionalAnnotation.kt")
|
||||
public void testOptionalAnnotation() throws Exception {
|
||||
runTest("compiler/testData/compileKotlinAgainstKotlin/optionalAnnotation.kt");
|
||||
|
||||
+5
@@ -375,6 +375,11 @@ public class JvmOldAgainstIrBoxTestGenerated extends AbstractJvmOldAgainstIrBoxT
|
||||
runTest("compiler/testData/compileKotlinAgainstKotlin/nestedTypeAliasExpansion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noExplicitOverrideForDelegatedFromSupertype.kt")
|
||||
public void testNoExplicitOverrideForDelegatedFromSupertype() throws Exception {
|
||||
runTest("compiler/testData/compileKotlinAgainstKotlin/noExplicitOverrideForDelegatedFromSupertype.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("optionalAnnotation.kt")
|
||||
public void testOptionalAnnotation() throws Exception {
|
||||
runTest("compiler/testData/compileKotlinAgainstKotlin/optionalAnnotation.kt");
|
||||
|
||||
Reference in New Issue
Block a user