| Index: pkg/compiler/lib/src/js_backend/interceptor_data.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/interceptor_data.dart b/pkg/compiler/lib/src/js_backend/interceptor_data.dart
|
| index 80d612c39657b887e62ade968e180fa2b2bebae6..35c616001a680da1b522c894d10a06281a5c5529 100644
|
| --- a/pkg/compiler/lib/src/js_backend/interceptor_data.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/interceptor_data.dart
|
| @@ -6,7 +6,6 @@ library js_backend.interceptor_data;
|
|
|
| import '../common/names.dart' show Identifiers;
|
| import '../common_elements.dart' show CommonElements, ElementEnvironment;
|
| -import '../elements/elements.dart' show ConstructorBodyElement;
|
| import '../elements/entities.dart';
|
| import '../elements/types.dart';
|
| import '../js/js.dart' as jsAst;
|
| @@ -92,7 +91,7 @@ class InterceptorDataImpl implements InterceptorData {
|
| bool isInterceptedMethod(MemberEntity element) {
|
| if (!element.isInstanceMember) return false;
|
| // TODO(johnniwinther): Avoid this hack.
|
| - if (element is ConstructorBodyElement) {
|
| + if (element is ConstructorBodyEntity) {
|
| return _nativeData.isNativeOrExtendsNative(element.enclosingClass);
|
| }
|
| return interceptedMembers[element.name] != null;
|
|
|