| 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 ee1d0192e3957ff2086f65fc8ca0405170a8c1de..d91528f43b35c31e1a422aa0ae98e7de9bf4bc0c 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
|
| @@ -212,6 +212,13 @@ public enum CompileTimeErrorCode implements ErrorCode {
|
| CONST_EVAL_THROWS_EXCEPTION("Evaluation of this constant expression causes exception"),
|
|
|
| /**
|
| + * 12.11.2 Const: It is a compile-time error if evaluation of a constant object results in an
|
| + * uncaught exception being thrown.
|
| + */
|
| + CONST_EVAL_THROWS_IDBZE(
|
| + "Evaluation of this constant expression throws IntegerDivisionByZeroException"),
|
| +
|
| + /**
|
| * 12.11.2 Const: If <i>T</i> is a parameterized type <i>S<U<sub>1</sub>, …,
|
| * U<sub>m</sub>></i>, let <i>R = S</i>; It is a compile time error if <i>S</i> is not a
|
| * generic type with <i>m</i> type parameters.
|
|
|