| Index: compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
|
| index 7627b34c4ba587fb1fb24be5ad790c4224a51267..682105c77ec814c32cb9a70b5bd7e976a3f57624 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
|
| @@ -79,6 +79,20 @@ public class NegativeParserTest extends CompilerTestCase {
|
| errEx(ParserErrorCode.REDIRECTING_CONSTRUCTOR_MULTIPLE, 1, 39, 7));
|
| }
|
|
|
| + /**
|
| + * May be parsing errors, but not exceptions.
|
| + * <p>
|
| + * http://code.google.com/p/dart/issues/detail?id=4040
|
| + */
|
| + public void test_incompleteArguments() {
|
| + parseSource(makeCode(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "main() {",
|
| + " f(a: 0,",
|
| + "}",
|
| + ""));
|
| + }
|
| +
|
| public void testSuperMultipleInvocationsTest() {
|
| String source =
|
| makeCode(
|
|
|