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

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

Issue 1992733002: Handle redirecting factories. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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 9664bbde714399992033d6cd7217fe01bf4d9e5e..ac8c8763f4c1fb21529da1b12a92f62e141af078 100644
--- a/pkg/compiler/lib/src/serialization/modelz.dart
+++ b/pkg/compiler/lib/src/serialization/modelz.dart
@@ -1108,6 +1108,9 @@ abstract class ConstructorElementZ extends DeserializedElementZ
ConstructorElement get definingConstructor => null;
@override
+ bool get hasEffectiveTarget => true;
+
+ @override
ConstructorElement get effectiveTarget {
if (_effectiveTarget == null) {
_effectiveTarget =
@@ -1269,6 +1272,9 @@ class ForwardingConstructorElementZ extends ElementZ
ConstantConstructor get constantConstructor => null;
@override
+ bool get hasEffectiveTarget => true;
+
+ @override
ConstructorElement get effectiveTarget => this;
@override
« no previous file with comments | « pkg/compiler/lib/src/resolution/resolution.dart ('k') | tests/compiler/dart2js/serialization/analysis_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698