[FIR] Fix resolving of refs with implicit this in lambdas in smartcasts

This commit is contained in:
Ivan Kochurkin
2022-03-20 20:17:00 +03:00
committed by teamcity
parent c6f52893fb
commit 48dbb9ceb9
8 changed files with 46 additions and 3 deletions
@@ -27932,6 +27932,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/smartCasts/implicitReceiver.kt");
}
@Test
@TestMetadata("implicitThisOnRefInLambdaInSmartcast.kt")
public void testImplicitThisOnRefInLambdaInSmartcast() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/implicitThisOnRefInLambdaInSmartcast.kt");
}
@Test
@TestMetadata("implicitToGrandSon.kt")
public void testImplicitToGrandSon() throws Exception {