Add a test where a local variable has the same name as a property

This commit is contained in:
pyos
2022-09-28 14:33:12 +02:00
committed by teamcity
parent 03bea0dbaa
commit 77c2601382
7 changed files with 89 additions and 0 deletions
@@ -28850,6 +28850,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/smartCasts/implicitThisOnRefInLambdaInSmartcast.kt");
}
@Test
@TestMetadata("implicitThisOrLocalVar.kt")
public void testImplicitThisOrLocalVar() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/implicitThisOrLocalVar.kt");
}
@Test
@TestMetadata("implicitToGrandSon.kt")
public void testImplicitToGrandSon() throws Exception {