| Index: lib/compiler/implementation/elements/elements.dart
|
| diff --git a/lib/compiler/implementation/elements/elements.dart b/lib/compiler/implementation/elements/elements.dart
|
| index 61fe59aa980548d3547f7374c519d610b0ead379..b85ddb2a48850b542960e1dcb5fe66e9f6c09abd 100644
|
| --- a/lib/compiler/implementation/elements/elements.dart
|
| +++ b/lib/compiler/implementation/elements/elements.dart
|
| @@ -330,6 +330,8 @@ class ErroneousElement extends Element {
|
| SourceString get name => unsupported();
|
| ElementKind get kind => unsupported();
|
| Link<MetadataAnnotation> get metadata => unsupported();
|
| +
|
| + getLibrary() => enclosingElement.getLibrary();
|
| }
|
|
|
| class ErroneousFunctionElement extends ErroneousElement
|
| @@ -348,8 +350,6 @@ class ErroneousFunctionElement extends ErroneousElement
|
| requiredParameterCount(compiler) => unsupported();
|
| optionalParameterCount(compiler) => unsupported();
|
| parameterCount(copmiler) => unsupported();
|
| -
|
| - getLibrary() => enclosingElement.getLibrary();
|
| }
|
|
|
| class ContainerElement extends Element {
|
|
|