Index: pkg/compiler/lib/src/serialization/modelz.dart |
diff --git a/pkg/compiler/lib/src/serialization/modelz.dart b/pkg/compiler/lib/src/serialization/modelz.dart |
index ce0fc988ecd307980f6efd0d32bda5e408ca48ce..126fa129501eb44d21005749b34c41f41aa6b3e0 100644 |
--- a/pkg/compiler/lib/src/serialization/modelz.dart |
+++ b/pkg/compiler/lib/src/serialization/modelz.dart |
@@ -251,8 +251,10 @@ abstract class AnalyzableElementMixin implements AnalyzableElement, ElementZ { |
} |
abstract class AstElementMixin implements AstElement, ElementZ { |
+ // TODO(johnniwinther): This is needed for the token invariant assertion. Find |
+ // another way to bypass the test for modelz. |
@override |
- bool get hasNode => _unsupported('hasNode'); |
+ bool get hasNode => false; |
@override |
bool get hasResolvedAst => _unsupported('hasResolvedAst'); |