K1: add use-site diagnostic about property shadowing by a field
Related to KT-50082
This commit is contained in:
committed by
teamcity
parent
59bafedd8a
commit
6234da4c86
+12
@@ -213,6 +213,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/DeprecatedUnaryOperatorConventions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("derivedClassPropertyShadowsBaseClassField.kt")
|
||||
public void testDerivedClassPropertyShadowsBaseClassField() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/derivedClassPropertyShadowsBaseClassField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("derivedClassPropertyShadowsBaseClassField13.kt")
|
||||
public void testDerivedClassPropertyShadowsBaseClassField13() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/derivedClassPropertyShadowsBaseClassField13.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DiamondFunction.kt")
|
||||
public void testDiamondFunction() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user