Remove uncapturing in type mismatch diagnostics

#KT-32587 Fixed
This commit is contained in:
Pavel Kirpichenkov
2019-09-16 15:10:05 +03:00
parent 5c904250be
commit f45a49b122
6 changed files with 72 additions and 5 deletions
@@ -8348,6 +8348,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/tests/generics/capturedParameters"), Pattern.compile("^(.*)\\.kts?$"), TargetBackend.ANY, true);
}
@TestMetadata("captured.kt")
public void testCaptured() throws Exception {
runTest("compiler/testData/diagnostics/tests/generics/capturedParameters/captured.kt");
}
@TestMetadata("innerLocalClass.kt")
public void testInnerLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/generics/capturedParameters/innerLocalClass.kt");