| Index: pkg/compiler/lib/src/native/behavior.dart
|
| diff --git a/pkg/compiler/lib/src/native/behavior.dart b/pkg/compiler/lib/src/native/behavior.dart
|
| index 6e6c53a8e357c9ace885c2333992ee334e8ae04c..3fb1c4bf5c3680fd7e3090429226edbb50a86864 100644
|
| --- a/pkg/compiler/lib/src/native/behavior.dart
|
| +++ b/pkg/compiler/lib/src/native/behavior.dart
|
| @@ -689,7 +689,8 @@ class NativeBehavior {
|
| !link.isEmpty;
|
| link = link.tail) {
|
| MetadataAnnotation annotation = link.head.ensureResolved(compiler);
|
| - ConstantValue value = annotation.constant.value;
|
| + ConstantValue value =
|
| + compiler.constants.getConstantValue(annotation.constant);
|
| if (!value.isConstructedObject) continue;
|
| ConstructedConstantValue constructedObject = value;
|
| if (constructedObject.type.element != annotationClass) continue;
|
|
|