Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(785)

Unified Diff: pkg/compiler/lib/src/serialization/modelz.dart

Issue 1896843002: Store and serialize NativeBehavior in TreeElements. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..db0784676302cd4f564e2aff124ac2b7dc1250ad 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 need for the token invariant assertion. Find
Siggi Cherem (dart-lang) 2016/04/18 16:48:54 need => needed
Johnni Winther 2016/04/20 10:12:55 Done.
+ // another way to bypass the test for modelz.
@override
- bool get hasNode => _unsupported('hasNode');
+ bool get hasNode => false;
@override
bool get hasResolvedAst => _unsupported('hasResolvedAst');

Powered by Google App Engine
This is Rietveld 408576698