| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java
|
| index 6d62cab22780215bd01ac81b32731f8a4f4318f4..ff881444bd7ca2481d069c814871e10937489f39 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java
|
| @@ -633,6 +633,18 @@ public class ErrorParserTest extends ParserTestCase {
|
| parseCompilationUnit("final typedef F();", ParserErrorCode.FINAL_TYPEDEF);
|
| }
|
|
|
| + public void test_functionTypedParameter_const() throws Exception {
|
| + parseCompilationUnit("void f(const x()) {}", ParserErrorCode.FUNCTION_TYPED_PARAMETER_VAR);
|
| + }
|
| +
|
| + public void test_functionTypedParameter_final() throws Exception {
|
| + parseCompilationUnit("void f(final x()) {}", ParserErrorCode.FUNCTION_TYPED_PARAMETER_VAR);
|
| + }
|
| +
|
| + public void test_functionTypedParameter_var() throws Exception {
|
| + parseCompilationUnit("void f(var x()) {}", ParserErrorCode.FUNCTION_TYPED_PARAMETER_VAR);
|
| + }
|
| +
|
| public void test_getterWithParameters() throws Exception {
|
| parse(
|
| "parseClassMember",
|
|
|