KT-422 Tune literal typing rules so that varargs overloaded by primitive types work

#KT-422 fixed
This commit is contained in:
Svetlana Isakova
2013-01-16 15:18:51 +04:00
parent b2823c5966
commit da4f1aec1d
3 changed files with 37 additions and 6 deletions
@@ -4257,6 +4257,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/varargs/kt1838-val.kt");
}
@TestMetadata("kt422.kt")
public void testKt422() throws Exception {
doTest("compiler/testData/diagnostics/tests/varargs/kt422.kt");
}
@TestMetadata("MoreSpecificVarargsOfEqualLength.kt")
public void testMoreSpecificVarargsOfEqualLength() throws Exception {
doTest("compiler/testData/diagnostics/tests/varargs/MoreSpecificVarargsOfEqualLength.kt");