Fixed NPE in ArgumentMatchImpl.getStatus

Check value arguments if there is wrong number of type arguments
This commit is contained in:
Svetlana Isakova
2014-08-14 11:41:30 +04:00
parent 05637226e1
commit bbeb44e6ee
6 changed files with 60 additions and 27 deletions
@@ -7048,6 +7048,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest("compiler/testData/diagnostics/tests/resolve/resolveWithoutGenerics.kt");
}
@TestMetadata("wrongNumberOfTypeArguments.kt")
public void testWrongNumberOfTypeArguments() throws Exception {
doTest("compiler/testData/diagnostics/tests/resolve/wrongNumberOfTypeArguments.kt");
}
@TestMetadata("compiler/testData/diagnostics/tests/resolve/invoke")
@InnerTestClasses({Invoke.Errors.class})
public static class Invoke extends AbstractJetDiagnosticsTest {