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

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

Issue 2034973003: Handle deferred access of unserialized code. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: dartfmt 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
« no previous file with comments | « pkg/compiler/lib/src/serialization/equivalence.dart ('k') | pkg/compiler/lib/src/serialization/system.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ffd989131ea3d5663b59cf86bfe2e38aced20d1d..1d220ff54a8b5db26d5761b8209033724691db2e 100644
--- a/pkg/compiler/lib/src/serialization/modelz.dart
+++ b/pkg/compiler/lib/src/serialization/modelz.dart
@@ -482,7 +482,9 @@ class LibraryElementZ extends DeserializedElementZ
@override
Iterable<ImportElement> getImportsFor(Element element) {
- return _unsupported('getImportsFor');
+ // TODO(johnniwinther): Serialize this to support deferred access to
+ // serialized entities.
+ return <ImportElement>[];
}
String toString() {
@@ -1334,8 +1336,13 @@ class RedirectingFactoryConstructorElementZ extends ConstructorElementZ {
}
class ForwardingConstructorElementZ extends ElementZ
- with AnalyzableElementMixin, AstElementMixinZ
- implements ConstructorElement {
+ with
+ AnalyzableElementMixin,
+ AstElementMixinZ
+ implements
+ ConstructorElement,
+ // TODO(johnniwinther): Sort out whether a constructor is a method.
+ MethodElement {
final MixinApplicationElement enclosingClass;
final ConstructorElement definingConstructor;
« no previous file with comments | « pkg/compiler/lib/src/serialization/equivalence.dart ('k') | pkg/compiler/lib/src/serialization/system.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698