| 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 0f3008475c1095209ef5cf8d8f547788361d14dc..ee2995faf70264a693d3ff41d7240debc21e58d4 100644
|
| --- a/pkg/compiler/lib/src/patch_parser.dart
|
| +++ b/pkg/compiler/lib/src/patch_parser.dart
|
| @@ -386,10 +386,7 @@ abstract class EagerAnnotationHandler<T> {
|
| static checkAnnotation(Compiler compiler,
|
| Element element,
|
| EagerAnnotationHandler handler) {
|
| - for (Link<MetadataAnnotation> link = element.metadata;
|
| - !link.isEmpty;
|
| - link = link.tail) {
|
| - MetadataAnnotation annotation = link.head;
|
| + for (MetadataAnnotation annotation in element.implementation.metadata) {
|
| var result = handler.apply(compiler, element, annotation);
|
| if (result != null) {
|
| // TODO(johnniwinther): Perform this check in
|
|
|