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

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

Issue 1043723002: Handle NewExpression in SemanticSendVisitor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased+fix modely.dart Created 5 years, 9 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/resolution/access_semantics.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 68ee1a47a71510e0749c8e2612acc893e6697db6..ed6120c62fadc81ef7e63b83feff9cad8bc1f058 100644
--- a/pkg/compiler/lib/src/elements/modelx.dart
+++ b/pkg/compiler/lib/src/elements/modelx.dart
@@ -305,6 +305,7 @@ class ErroneousElementX extends ElementX implements ErroneousElement {
get executableContext => unsupported();
get isExternal => unsupported();
+ bool get isRedirectingGenerative => unsupported();
bool get isRedirectingFactory => unsupported();
computeSignature(compiler) => unsupported();
@@ -341,6 +342,12 @@ class ErroneousConstructorElementX extends ErroneousElementX
Element enclosing)
: super(messageKind, messageArguments, name, enclosing);
+ bool get isRedirectingGenerative => false;
+
+ void set isRedirectingGenerative(_) {
+ throw new UnsupportedError("isRedirectingGenerative");
+ }
+
bool get isRedirectingFactory => false;
get definingElement {
@@ -1912,6 +1919,7 @@ class LocalFunctionElementX extends BaseFunctionElementX
abstract class ConstructorElementX extends FunctionElementX
implements ConstructorElement {
+ bool isRedirectingGenerative = false;
ConstructorElementX(String name,
ElementKind kind,
« no previous file with comments | « pkg/compiler/lib/src/elements/elements.dart ('k') | pkg/compiler/lib/src/resolution/access_semantics.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698