| 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 1dd514fe29f8a32535659c0781d7ceb600a91d11..4edabb3fe113779fb0b22cddc1ef96ae117f6ce4 100644
|
| --- a/pkg/compiler/lib/src/patch_parser.dart
|
| +++ b/pkg/compiler/lib/src/patch_parser.dart
|
| @@ -502,7 +502,7 @@ class JsInteropAnnotationHandler implements EagerAnnotationHandler<bool> {
|
| ConstantValue constant) {
|
| JavaScriptBackend backend = compiler.backend;
|
| if (constant.getType(compiler.coreTypes).element !=
|
| - backend.jsAnnotationClass) {
|
| + backend.helpers.jsAnnotationClass) {
|
| compiler.reporter.internalError(annotation, 'Invalid @JS(...) annotation.');
|
| }
|
| }
|
|
|