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

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

Issue 2360603002: Roll kernel to latest and add baseline test. (Closed)
Patch Set: dartfmt Created 4 years, 3 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 | « pkg/compiler/lib/src/elements/elements.dart ('k') | pkg/compiler/lib/src/kernel/kernel.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « pkg/compiler/lib/src/elements/elements.dart ('k') | pkg/compiler/lib/src/kernel/kernel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698