Index: pkg/front_end/lib/src/fasta/source/diet_listener.dart |
diff --git a/pkg/front_end/lib/src/fasta/source/diet_listener.dart b/pkg/front_end/lib/src/fasta/source/diet_listener.dart |
index ef900d29806d4829d4d0c6f1edb2520bb0564112..adc96322035338edd4ae5cc237d6d1b37d1c5814 100644 |
--- a/pkg/front_end/lib/src/fasta/source/diet_listener.dart |
+++ b/pkg/front_end/lib/src/fasta/source/diet_listener.dart |
@@ -466,7 +466,7 @@ class DietListener extends StackListener { |
StackListener listener = createListener(classBuilder, memberScope, false); |
Parser parser = new Parser(listener); |
parser.parseMetadataStar(metadata); |
- List metadataConstants = listener.pop(); |
+ List metadataConstants = listener.finishMetadata(); |
Class cls = classBuilder.target; |
metadataConstants.forEach(cls.addAnnotation); |
} |