| Index: pkg/compiler/lib/src/patch_parser.dart
|
| diff --git a/pkg/compiler/lib/src/patch_parser.dart b/pkg/compiler/lib/src/patch_parser.dart
|
| index 0899be3419411bc66fd745de6ce41499c0ae0651..51b5cac215da27ee87e479110c94674c46ec58ee 100644
|
| --- a/pkg/compiler/lib/src/patch_parser.dart
|
| +++ b/pkg/compiler/lib/src/patch_parser.dart
|
| @@ -379,7 +379,7 @@ class NativeAnnotationHandler implements EagerAnnotationHandler {
|
| Element element,
|
| MetadataAnnotation annotation,
|
| ConstantValue constant) {
|
| - if (constant.computeType(compiler).element !=
|
| + if (constant.getType(compiler.coreTypes).element !=
|
| compiler.nativeAnnotationClass) {
|
| compiler.internalError(annotation, 'Invalid @Native(...) annotation.');
|
| }
|
|
|