Don't check an argument type during passing it to vararg in the named form to avoid false positives if the argument type is type variable yet
^KT-41144 Fixed
This commit is contained in:
+5
@@ -24860,6 +24860,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
|
||||
runTest("compiler/testData/diagnostics/tests/varargs/AmbiguousVararg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("assignArrayToVararagInNamedFormWithInference.kt")
|
||||
public void testAssignArrayToVararagInNamedFormWithInference() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/varargs/assignArrayToVararagInNamedFormWithInference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("assignArrayToVararagInNamedForm_1_3.kt")
|
||||
public void testAssignArrayToVararagInNamedForm_1_3() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/varargs/assignArrayToVararagInNamedForm_1_3.kt");
|
||||
|
||||
Reference in New Issue
Block a user