Report NON_VARARG_SPREAD on missed cases

^KT-48162 Fixed
This commit is contained in:
Victor Petukhov
2021-09-28 17:50:24 +03:00
parent 71ceffefb5
commit d9c50f0fda
14 changed files with 110 additions and 15 deletions
@@ -31641,6 +31641,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/varargs/kt422.kt");
}
@Test
@TestMetadata("kt48162.kt")
public void testKt48162() throws Exception {
runTest("compiler/testData/diagnostics/tests/varargs/kt48162.kt");
}
@Test
@TestMetadata("MoreSpecificVarargsOfEqualLength.kt")
public void testMoreSpecificVarargsOfEqualLength() throws Exception {