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

Unified Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 1127363003: Insert the right checks for redirecting factories to deferred constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: update to status-file rebase Created 5 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 | « no previous file | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/elements/elements.dart
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
index dc8650408d5eda22cf29027819a3b56d05381456..3d646a51cf1e23c3a4f3157e00132c491891994e 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -1232,6 +1232,12 @@ abstract class ConstructorElement extends FunctionElement
/// constructor so its immediate redirection target is `null`.
ConstructorElement get immediateRedirectionTarget;
+ bool get isCyclicRedirection;
+
+ /// The prefix of the immediateRedirectionTarget, if it is deferred.
+ /// [null] if it is not deferred.
+ PrefixElement get redirectionDeferredPrefix;
+
/// Is `true` if this constructor is a redirecting generative constructor.
bool get isRedirectingGenerative;
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698