Chromium Code Reviews| 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 6e7b596f3491896b20f2cc55fc50c000afe439b5..e3c06f09677fa657ff1e768a8ea4e810eca146af 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 |
| @@ -643,7 +643,8 @@ public enum CompileTimeErrorCode implements ErrorCode { |
| * 13.2 Expression Statements: It is a compile-time error if a non-constant map literal that has |
| * no explicit type arguments appears in a place where a statement is expected. |
| */ |
| - NON_CONST_MAP_AS_EXPRESSION_STATEMENT(""), |
| + NON_CONST_MAP_AS_EXPRESSION_STATEMENT( |
| + "Non-constant map literal without type arguments cannot be used as an expression statement"), |
|
Brian Wilkerson
2013/05/13 13:41:35
nit: "Non-" --> "A non-"
|
| /** |
| * 13.9 Switch: Given a switch statement of the form <i>switch (e) { label<sub>11</sub> … |