Add a test where a local variable has the same name as a property
This commit is contained in:
+6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user