| Index: pkg/compiler/lib/src/native/enqueue.dart
 | 
| diff --git a/pkg/compiler/lib/src/native/enqueue.dart b/pkg/compiler/lib/src/native/enqueue.dart
 | 
| index 51041d535ec0c93939d9306743f82a1d4c1e3273..f1339a1b81292e37b86cc1fa6f3c0a37f1a7fdac 100644
 | 
| --- a/pkg/compiler/lib/src/native/enqueue.dart
 | 
| +++ b/pkg/compiler/lib/src/native/enqueue.dart
 | 
| @@ -319,7 +319,8 @@ abstract class NativeEnqueuerBase implements NativeEnqueuer {
 | 
|           !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;
 | 
| 
 |