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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/modelx.dart

Issue 19097003: Support new malformed types semantics. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix unittests. Created 7 years, 5 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
Index: sdk/lib/_internal/compiler/implementation/elements/modelx.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
index 763c1e154007e9fab759f843ec8cfcce17a6c6ac..57b7c7b156d40ee207574f833364c79c86c8ade5 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
@@ -321,13 +321,11 @@ class ErroneousElementX extends ElementX implements ErroneousElement {
get type => unsupported();
get cachedNode => unsupported();
get functionSignature => unsupported();
- get patch => unsupported();
- get origin => unsupported();
+ get patch => null;
+ get origin => this;
get defaultImplementation => unsupported();
bool get isRedirectingFactory => unsupported();
- bool get isPatched => unsupported();
- bool get isPatch => unsupported();
setPatch(patch) => unsupported();
computeSignature(compiler) => unsupported();

Powered by Google App Engine
This is Rietveld 408576698