Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
index 10443ee39dbed748623d470145ef15d7855da59a..6b578ceec1e1d8a73fea66616e895ed178587138 100644 |
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
@@ -644,7 +644,7 @@ class ResolverTask extends CompilerTask { |
ResolverVisitor visitor = |
visitorFor(annotation.annotatedElement.enclosingElement); |
node.accept(visitor); |
- annotation.value = compiler.constantHandler.compileNodeWithDefinitions( |
+ annotation.value = compiler.metadataHandler.compileNodeWithDefinitions( |
node, visitor.mapping, isConst: true); |
annotation.resolutionState = STATE_DONE; |