| Index: pkg/compiler/lib/src/common/backend_api.dart
 | 
| diff --git a/pkg/compiler/lib/src/common/backend_api.dart b/pkg/compiler/lib/src/common/backend_api.dart
 | 
| index f72ce5e10c37166bd6d38d5c5090c97a962681e6..4638207bd74dd3a902467352bdffb6a646a8b58c 100644
 | 
| --- a/pkg/compiler/lib/src/common/backend_api.dart
 | 
| +++ b/pkg/compiler/lib/src/common/backend_api.dart
 | 
| @@ -45,7 +45,7 @@ import '../library_loader.dart' show
 | 
|  import '../native/native.dart' as native show
 | 
|      NativeEnqueuer;
 | 
|  import '../patch_parser.dart' show
 | 
| -    checkNativeAnnotation;
 | 
| +    checkNativeAnnotation, checkJsInteropAnnotation;
 | 
|  import '../resolution/tree_elements.dart' show
 | 
|      TreeElements;
 | 
|  import '../tree/tree.dart' show
 | 
| @@ -293,6 +293,16 @@ abstract class Backend {
 | 
|          }
 | 
|        });
 | 
|      }
 | 
| +    checkJsInteropAnnotation(compiler, library);
 | 
| +    library.forEachLocalMember((Element element) {
 | 
| +      checkJsInteropAnnotation(compiler, element);
 | 
| +      if (element.isClass && element.isJsInterop) {
 | 
| +        ClassElement classElement = element;
 | 
| +        classElement.forEachMember((_, memberElement) {
 | 
| +          checkJsInteropAnnotation(compiler, memberElement);
 | 
| +        });
 | 
| +      }
 | 
| +    });
 | 
|      return new Future.value();
 | 
|    }
 | 
|  
 | 
| 
 |