[FIR] Reproduce KT-65584
The diagnostic target source element type was changed to prevent crash due to `checkPsiTypeConsistency()` in `duplicateParameterNameSimplified.fir.kt` ^KT-65584
This commit is contained in:
committed by
Space Team
parent
ef29879740
commit
8ec248131d
+12
@@ -357,6 +357,18 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/duplicateDirrectOverriddenCallables.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicateParameterName.kt")
|
||||
public void testDuplicateParameterName() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/duplicateParameterName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicateParameterNameSimplified.kt")
|
||||
public void testDuplicateParameterNameSimplified() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/duplicateParameterNameSimplified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyLhsClassLiterals.kt")
|
||||
public void testEmptyLhsClassLiterals() throws Exception {
|
||||
|
||||
+12
@@ -357,6 +357,18 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/duplicateDirrectOverriddenCallables.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicateParameterName.kt")
|
||||
public void testDuplicateParameterName() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/duplicateParameterName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicateParameterNameSimplified.kt")
|
||||
public void testDuplicateParameterNameSimplified() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/duplicateParameterNameSimplified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyLhsClassLiterals.kt")
|
||||
public void testEmptyLhsClassLiterals() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user