| 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 71d790229386298b5f3f1ca254919dd5787fe189..d9691a2de5011fbad5fff7bd088c5de03a0f8a78 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
|
| @@ -626,9 +626,10 @@ public enum CompileTimeErrorCode implements ErrorCode {
|
| /**
|
| * 11 Metadata: Metadata consists of a series of annotations, each of which begin with the
|
| * character @, followed by a constant expression that must be either a reference to a
|
| - * compile-time constant variable, or a call to a constant constructor.
|
| + * compile-time constant variable, name of a class, or a call to a constant constructor.
|
| */
|
| - INVALID_ANNOTATION("Annotation can be only constant variable or constant constructor invocation"),
|
| + INVALID_ANNOTATION(
|
| + "Annotation can be only constant variable, name of a class or constant constructor invocation"),
|
|
|
| /**
|
| * TODO(brianwilkerson) Remove this when we have decided on how to report errors in compile-time
|
|
|