NI: use the inferred type to check of nullable array for vararg
^KT-40555 Fixed
This commit is contained in:
@@ -24929,6 +24929,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
|
||||
runTest("compiler/testData/diagnostics/tests/varargs/assigningSingleElementsInNamedFormFunDeprecation_before.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inferredNullableArrayAsVararg.kt")
|
||||
public void testInferredNullableArrayAsVararg() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/varargs/inferredNullableArrayAsVararg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt1781.kt")
|
||||
public void testKt1781() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/varargs/kt1781.kt");
|
||||
|
||||
Generated
+5
@@ -24849,6 +24849,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/varargs/assigningSingleElementsInNamedFormFunDeprecation_before.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inferredNullableArrayAsVararg.kt")
|
||||
public void testInferredNullableArrayAsVararg() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/varargs/inferredNullableArrayAsVararg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt1781.kt")
|
||||
public void testKt1781() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/varargs/kt1781.kt");
|
||||
|
||||
Reference in New Issue
Block a user