| 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 95ad80343d00ae09477739b2828a93b13ab73985..3ab6046ab89775ac5e090fcc0b3446fd5356239f 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
|
| @@ -571,20 +571,24 @@ public enum CompileTimeErrorCode implements ErrorCode {
|
| /**
|
| * 9 Mixins: It is a compile-time error if a declared or derived mixin explicitly declares a
|
| * constructor.
|
| + *
|
| + * @param typeName the name of the mixin that is invalid
|
| */
|
| - MIXIN_DECLARES_CONSTRUCTOR("Class '%s' declares constructor and cannot be used as a mixin"),
|
| + MIXIN_DECLARES_CONSTRUCTOR(
|
| + "The class '%s' cannot be used as a mixin because it declares a constructor"),
|
|
|
| /**
|
| * 9 Mixins: It is a compile-time error if a mixin is derived from a class whose superclass is not
|
| * Object.
|
| + *
|
| + * @param typeName the name of the mixin that is invalid
|
| */
|
| - MIXIN_INHERITS_FROM_NOT_OBJECT(""),
|
| + MIXIN_INHERITS_FROM_NOT_OBJECT(
|
| + "The class '%s' cannot be used as a mixin because it extends a class other than Object"),
|
|
|
| /**
|
| * 9.1 Mixin Application: It is a compile-time error if <i>M</i> does not denote a class or mixin
|
| * available in the immediately enclosing scope.
|
| - *
|
| - * @param typeName the name of the mixin that was not found
|
| */
|
| MIXIN_OF_NON_CLASS("Classes can only mixin other classes"),
|
|
|
|
|