Index: pkg/compiler/lib/src/resolution/resolution.dart |
diff --git a/pkg/compiler/lib/src/resolution/resolution.dart b/pkg/compiler/lib/src/resolution/resolution.dart |
index 2fd4e6850c401ca073c26d2c4e46896373030e91..f1ca6d02630b1314b5480dbdf9430ed0556a8a0b 100644 |
--- a/pkg/compiler/lib/src/resolution/resolution.dart |
+++ b/pkg/compiler/lib/src/resolution/resolution.dart |
@@ -1088,6 +1088,7 @@ class ResolverTask extends CompilerTask { |
// and the annotated element instead. This will allow the backend to |
// retrieve the backend constant and only register metadata on the |
// elements for which it is needed. (Issue 17732). |
+ registry.registerMetadataConstant(annotation); |
annotation.resolutionState = STATE_DONE; |
})); |
} |