| 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 cf53b0854d66d23e99fb32d6640d878bb8e901d4..a137493de37b67c5f17566b53d42428d1a1f4b50 100644
|
| --- a/pkg/compiler/lib/src/resolution/resolution.dart
|
| +++ b/pkg/compiler/lib/src/resolution/resolution.dart
|
| @@ -598,7 +598,7 @@ class ResolverTask extends CompilerTask {
|
| metadata.ensureResolved(compiler);
|
| ConstantValue value =
|
| compiler.constants.getConstantValue(metadata.constant);
|
| - if (!element.isProxy && value == compiler.proxyConstant) {
|
| + if (!element.isProxy && compiler.isProxyConstant(value)) {
|
| element.isProxy = true;
|
| }
|
| }
|
|
|