| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
|
| index f84a33bfa2083ccd714ca2b66519975596c4e889..1919736a6a717c9e3223c19baaa08307d3c69bca 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
|
| @@ -287,6 +287,14 @@ public enum CompileTimeErrorCode implements ErrorCode {
|
| DEFAULT_VALUE_IN_FUNCTION_TYPE_ALIAS("Default values aren't allowed in typedefs"),
|
|
|
| /**
|
| + * 6.2.1 Required Formals: By means of a function signature that names the parameter and describes
|
| + * its type as a function type. It is a compile-time error if any default values are specified in
|
| + * the signature of such a function type.
|
| + */
|
| + DEFAULT_VALUE_IN_FUNCTION_TYPED_PARAMETER(
|
| + "Default values aren't allowed in function type parameters"),
|
| +
|
| + /**
|
| * 3.1 Scoping: It is a compile-time error if there is more than one entity with the same name
|
| * declared in the same scope.
|
| */
|
|
|