Index: pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart |
diff --git a/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart b/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart |
index 9bc3a86a016844cac6a1af67a8ce47a0c5c94fdb..5d0183a62757294e917fd196768796a713fe0a15 100644 |
--- a/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart |
+++ b/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart |
@@ -261,7 +261,7 @@ class ForgetConstantElementVisitor |
const ForgetConstantElementVisitor(); |
void visitElement(Element e, JavaScriptConstantCompiler constants) { |
- for (MetadataAnnotation data in e.metadata) { |
+ for (MetadataAnnotation data in e.implementation.metadata) { |
constants.metadataConstantMap.remove(data); |
if (data.hasNode) { |
data.node.accept(new ForgetConstantNodeVisitor(constants)); |