Prohibit type parameters for local variables in LV >= 1.4 & -progressive
#KT-8341 Fixed
This commit is contained in:
@@ -5133,6 +5133,16 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/LocalVariableWithNoTypeInformation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localVariablesWithTypeParameters_1_3.kt")
|
||||
public void testLocalVariablesWithTypeParameters_1_3() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/localVariablesWithTypeParameters_1_3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localVariablesWithTypeParameters_1_4.kt")
|
||||
public void testLocalVariablesWithTypeParameters_1_4() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/localVariablesWithTypeParameters_1_4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mulitpleVarargParameters.kt")
|
||||
public void testMulitpleVarargParameters() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/mulitpleVarargParameters.kt");
|
||||
|
||||
Generated
+10
@@ -5133,6 +5133,16 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/LocalVariableWithNoTypeInformation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localVariablesWithTypeParameters_1_3.kt")
|
||||
public void testLocalVariablesWithTypeParameters_1_3() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/localVariablesWithTypeParameters_1_3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localVariablesWithTypeParameters_1_4.kt")
|
||||
public void testLocalVariablesWithTypeParameters_1_4() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/localVariablesWithTypeParameters_1_4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mulitpleVarargParameters.kt")
|
||||
public void testMulitpleVarargParameters() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/mulitpleVarargParameters.kt");
|
||||
|
||||
Reference in New Issue
Block a user