Index: pkg/compiler/lib/src/elements/modelx.dart |
diff --git a/pkg/compiler/lib/src/elements/modelx.dart b/pkg/compiler/lib/src/elements/modelx.dart |
index 4eb76bb1ba583d0ec502f3e3f0149ce591437a5c..691e6d7149ba1535eff77457c9fcdb820dac2abc 100644 |
--- a/pkg/compiler/lib/src/elements/modelx.dart |
+++ b/pkg/compiler/lib/src/elements/modelx.dart |
@@ -224,6 +224,8 @@ class ErroneousElementX extends ElementX |
bool get isCyclicRedirection => false; |
+ bool get isDefaultConstructor => false; |
+ |
bool get isMalformed => true; |
PrefixElement get redirectionDeferredPrefix => null; |
@@ -2237,6 +2239,8 @@ abstract class ConstructorElementX extends FunctionElementX |
// generative constructors. |
bool get isCyclicRedirection => effectiveTarget.isRedirectingFactory; |
+ bool get isDefaultConstructor => false; |
+ |
/// These fields are set by the post process queue when checking for cycles. |
ConstructorElement effectiveTargetInternal; |
DartType _effectiveTargetType; |