Fix AE: No receiver found on incomplete code with $-signs
^KT-24158 Fixed
This commit is contained in:
Generated
+16
@@ -9112,6 +9112,22 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/exceptions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Exceptions extends AbstractDiagnosticTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInExceptions() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exceptions"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24158.kt")
|
||||
public void testKt24158() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/exceptions/kt24158.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/exposed")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user