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:
+6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user