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

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

Issue 746993002: Avoid patching in dart2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 1 month 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/enqueue.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 fc70d65018412a1c350d8943128be50a6648e7c4..45e1f955bfbf39285d3f0604352149564112d2ed 100644
--- a/pkg/compiler/lib/src/elements/modelx.dart
+++ b/pkg/compiler/lib/src/elements/modelx.dart
@@ -118,8 +118,6 @@ abstract class ElementX extends Element {
bool get isSynthesized => false;
- bool get isForwardingConstructor => false;
-
bool get isMixinApplication => false;
bool get isLocal => false;
@@ -306,6 +304,7 @@ class ErroneousElementX extends ElementX implements ErroneousElement {
get nestedClosures => unsupported();
get memberContext => unsupported();
get executableContext => unsupported();
+ get isExternal => unsupported();
bool get isRedirectingFactory => unsupported();
@@ -1557,6 +1556,8 @@ abstract class BaseFunctionElementX
assert(modifiers != null);
}
+ bool get isExternal => modifiers.isExternal;
+
bool get isInstanceMember {
return isClassMember
&& !isConstructor
« no previous file with comments | « pkg/compiler/lib/src/elements/elements.dart ('k') | pkg/compiler/lib/src/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698