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(); |