| 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 bb5d2654f95f535ec1d9810d77bf8dcdbe0dc8c9..dbfb4e36cf812f87f608f5dc57f5cc26047cb47c 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
|
| @@ -1065,6 +1065,12 @@ public enum CompileTimeErrorCode implements ErrorCode {
|
| "The name '%s' cannot be referenced in the initializer of a variable with the same name"),
|
|
|
| /**
|
| + * 5 Variables: A local variable may only be referenced at a source code location that is after
|
| + * its initializer, if any, is complete, or a compile-time error occurs.
|
| + */
|
| + REFERENCED_BEFORE_DECLARATION("Local variables cannot be referenced before they are declared"),
|
| +
|
| + /**
|
| * 12.8.1 Rethrow: It is a compile-time error if an expression of the form <i>rethrow;</i> is not
|
| * enclosed within a on-catch clause.
|
| */
|
|
|