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

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

Issue 1967073002: Check closure data for serialization (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 4 years, 7 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 8428777acd0ad9b3b80cc9fdd1e8f0f8bfb4633e..82d02af543c8d63ae3e934af3a2e81527828fc21 100644
--- a/pkg/compiler/lib/src/serialization/modelz.dart
+++ b/pkg/compiler/lib/src/serialization/modelz.dart
@@ -82,13 +82,13 @@ abstract class ElementZ extends Element with ElementCommon {
bool get isClosure => false;
@override
- bool get isConst => _unsupported('isConst');
+ bool get isConst => false;
@override
bool get isDeferredLoaderGetter => false;
@override
- bool get isFinal => _unsupported('isFinal');
+ bool get isFinal => false;
@override
bool get isInstanceMember => false;
@@ -1906,6 +1906,9 @@ class LocalParameterElementZ extends ParameterElementZ
}
@override
+ bool get isLocal => true;
+
+ @override
ElementKind get kind => ElementKind.PARAMETER;
}
« no previous file with comments | « pkg/compiler/lib/src/serialization/keys.dart ('k') | pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698