Add test for KT-52782

It just demonstrates/fixate the current "broken" behavior in K1
that we unfortunately have and that is fixed in K2
This commit is contained in:
Denis.Zharkov
2022-08-24 12:22:18 +02:00
committed by teamcity
parent 01f567a16d
commit 490382b77f
8 changed files with 152 additions and 0 deletions
@@ -14801,6 +14801,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/kt49101.kt");
}
@Test
@TestMetadata("kt52782.kt")
public void testKt52782() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/kt52782.kt");
}
@Test
@TestMetadata("memberScopeOfCaptured.kt")
public void testMemberScopeOfCaptured() throws Exception {