| Index: pkg/compiler/lib/src/patch_parser.dart
|
| diff --git a/pkg/compiler/lib/src/patch_parser.dart b/pkg/compiler/lib/src/patch_parser.dart
|
| index 8eb9f852da2687f9cb11ecaa66672d408b35ff09..a2ec63cf7006cdbfc964892a24ed6e9844cfe6db 100644
|
| --- a/pkg/compiler/lib/src/patch_parser.dart
|
| +++ b/pkg/compiler/lib/src/patch_parser.dart
|
| @@ -154,7 +154,6 @@ import 'script.dart';
|
| import 'tokens/token.dart' show
|
| StringToken,
|
| Token;
|
| -import 'util/util.dart';
|
|
|
| class PatchParserTask extends CompilerTask {
|
| final String name = "Patching Parser";
|
| @@ -399,7 +398,7 @@ abstract class EagerAnnotationHandler<T> {
|
| // TODO(johnniwinther): Perform this check in
|
| // [Compiler.onLibrariesLoaded].
|
| compiler.enqueuer.resolution.addDeferredAction(element, () {
|
| - annotation.ensureResolved(compiler);
|
| + annotation.ensureResolved(compiler.resolution);
|
| handler.validate(
|
| compiler, element, annotation,
|
| compiler.constants.getConstantValue(annotation.constant));
|
|
|