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

Unified Diff: pkg/compiler/lib/src/elements/elements.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
« 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 2e6adb0a7036decbd5204782610cfa91dc16b876..5223189a9274519b9cedf53e26030be701b9f5bc 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -1236,6 +1236,10 @@ abstract class LocalFunctionElement extends FunctionElement
/// A constructor.
abstract class ConstructorElement extends FunctionElement
implements MemberElement {
+ /// Returns `true` if [effectiveTarget] has been computed for this
+ /// constructor.
+ bool get hasEffectiveTarget;
+
/// The effective target of this constructor, that is the non-redirecting
/// constructor that is called on invocation of this constructor.
///
« 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