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 58c23443c05a05cf1ada8e72d587754292e46156..d4f26491d0d9bd0c789ad9f3b1d8326d47c0331c 100644 |
--- a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart |
+++ b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart |
@@ -320,13 +320,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(); |