Index: compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java |
diff --git a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java |
index fa1bc574457743c8e3b849b82bef0897c17781be..375f64417848d1881e1b5b20adaa0741cc3ec60f 100644 |
--- a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java |
+++ b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java |
@@ -2142,7 +2142,7 @@ public class TypeAnalyzer implements DartCompilationPhase { |
// getter and setter should have same "static" flag |
if (modifiers.isStatic() != getterElement.getModifiers().isStatic()) { |
- onError(node.getName(), ResolverErrorCode.FIELD_GETTER_SETTER_SAME_STATIC); |
+ onError(node.getName(), TypeErrorCode.FIELD_GETTER_SETTER_SAME_STATIC); |
} |
} |
} |