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..dc708d0d6076dd1899c236011970172a360baaae 100644 |
--- a/pkg/compiler/lib/src/elements/elements.dart |
+++ b/pkg/compiler/lib/src/elements/elements.dart |
@@ -1005,6 +1005,8 @@ abstract class VariableElement extends ExecutableElement { |
Expression get initializer; |
+ bool get hasConstant; |
+ |
/// The constant expression defining the (initial) value of the variable. |
/// |
/// If the variable is `const` the value is always non-null, possibly an |
@@ -1236,6 +1238,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. |
/// |