| 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 c9761333d2a33ed23b0db34c9bfc79ffed9ce477..f5c31f393c7d19b2f88e12d298fc6b373c839d6c 100644
|
| --- a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| +++ b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| @@ -1704,7 +1704,7 @@ public class TypeAnalyzer implements DartCompilationPhase {
|
| */
|
| private boolean canOverride(DartExpression node, Modifiers modifiers, Element element) {
|
| if (element.getModifiers().isStatic()) {
|
| - onError(node, ResolverErrorCode.CANNOT_OVERRIDE_STATIC_MEMBER,
|
| + onError(node, TypeErrorCode.OVERRIDING_INHERITED_STATIC_MEMBER,
|
| element.getName(), element.getEnclosingElement().getName());
|
| return false;
|
| } else if (modifiers.isStatic()) {
|
|
|