[FIR] Throw REDECLARATION for duplicated value parameters in function
Add new test file
This commit is contained in:
+6
@@ -22805,6 +22805,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/tests/redeclarations/RedeclaredTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("RedeclaredValueParameters.kt")
|
||||
public void testRedeclaredValueParameters() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/redeclarations/RedeclaredValueParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("RedeclaringPrivateToFile.kt")
|
||||
public void testRedeclaringPrivateToFile() throws Exception {
|
||||
|
||||
+6
@@ -22805,6 +22805,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
runTest("compiler/testData/diagnostics/tests/redeclarations/RedeclaredTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("RedeclaredValueParameters.kt")
|
||||
public void testRedeclaredValueParameters() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/redeclarations/RedeclaredValueParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("RedeclaringPrivateToFile.kt")
|
||||
public void testRedeclaringPrivateToFile() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user