FE: add & fix test with intersection property shadowed by base field
This commit is contained in:
committed by
teamcity
parent
949a39b80f
commit
7904f23660
Vendored
+1
-1
@@ -21,6 +21,6 @@ FILE: lib.kt
|
||||
}
|
||||
FILE: main.kt
|
||||
public final fun test(d: R|D|): R|kotlin/Unit| {
|
||||
lval a: R|kotlin/Int| = R|<local>/d|.R|/C.x|
|
||||
lval a: R|kotlin/Int| = R|<local>/d|.R|/A.x|
|
||||
lval b: R|kotlin/Int| = R|<local>/d|.R|/D.y|
|
||||
}
|
||||
|
||||
+6
@@ -225,6 +225,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/tests/derivedClassPropertyShadowsBaseClassField13.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("derivedIntersectionPropertyShadowsBaseClassField.kt")
|
||||
public void testDerivedIntersectionPropertyShadowsBaseClassField() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/derivedIntersectionPropertyShadowsBaseClassField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DiamondFunction.kt")
|
||||
public void testDiamondFunction() throws Exception {
|
||||
|
||||
+6
@@ -225,6 +225,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
runTest("compiler/testData/diagnostics/tests/derivedClassPropertyShadowsBaseClassField13.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("derivedIntersectionPropertyShadowsBaseClassField.kt")
|
||||
public void testDerivedIntersectionPropertyShadowsBaseClassField() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/derivedIntersectionPropertyShadowsBaseClassField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DiamondFunction.kt")
|
||||
public void testDiamondFunction() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user