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 c29501b3771fa46a9d77782bce83a63f1f4d7076..3f251c319e7b842be310a40d2759bc73dc51df41 100644 |
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
@@ -758,6 +758,9 @@ class ResolverTask extends CompilerTask { |
} |
for (MetadataAnnotation metadata in element.metadata) { |
metadata.ensureResolved(compiler); |
+ if (!element.isProxy && metadata.value == compiler.proxyConstant) { |
+ element.isProxy = true; |
+ } |
} |
// Force resolution of metadata on non-instance members since they may be |