| 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 cbb3ef955352a17c04f6d1f6118cdff9102267fd..fac71f90e30148be3d6c48d43b7fa414a1a3fcc3 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
|
| @@ -104,7 +104,7 @@ public enum CompileTimeErrorCode implements ErrorCode {
|
| * class.
|
| */
|
| CONFLICTING_CONSTRUCTOR_NAME_AND_FIELD(
|
| - "'%s' cannot be used to name a constructor and a method in this class"),
|
| + "'%s' cannot be used to name a constructor and a field in this class"),
|
|
|
| /**
|
| * 7.6 Constructors: A constructor name always begins with the name of its immediately enclosing
|
| @@ -246,6 +246,20 @@ public enum CompileTimeErrorCode implements ErrorCode {
|
| /**
|
| * 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.
|
| + */
|
| + DUPLICATE_CONSTRUCTOR_DEFAULT("The default constructor is already defined"),
|
| +
|
| + /**
|
| + * 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.
|
| + *
|
| + * @param duplicateName the name of the duplicate entity
|
| + */
|
| + DUPLICATE_CONSTRUCTOR_NAME("The constructor with name '%s' is already defined"),
|
| +
|
| + /**
|
| + * 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.
|
| *
|
| * @param duplicateName the name of the duplicate entity
|
| */
|
|
|