| Index: compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
|
| diff --git a/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java b/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
|
| index 583afb610607d798c03733c712f833bf424c166a..da457a4e4e52ef890e038ffa01618479fbeabe26 100644
|
| --- a/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
|
| +++ b/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
|
| @@ -98,6 +98,8 @@ public enum DartCompilerErrorCode implements ErrorCode {
|
| FACTORY_CANNOT_BE_STATIC("SyntaxError: A factory cannot be static"),
|
| FACTORY_MEMBER_IN_INTERFACE("SyntaxError: factory members are not allowed in interfaces"),
|
| FIELD_CONFLICTS("%s conflicts with previously defined %s at line %d column %d"),
|
| + FOR_IN_WITH_ITERATOR_FIELD("iterator is a field, expected an iterator() method"),
|
| + FOR_IN_WITH_INVALID_ITERATOR_RETURN_TYPE("iterator method's return type is not assignable to %s"),
|
| FOR_IN_WITH_COMPLEX_VARIABLE("Only simple variables can be assigned to in a for-in construct"),
|
| FOR_IN_WITH_MULTIPLE_VARIABLES("Too many variable declarations in a for-in construct"),
|
| FOR_IN_WITH_VARIABLE_INITIALIZER("Cannot initialize for-in variables"),
|
|
|