Index: pkg/compiler/lib/src/js_backend/patch_resolver.dart |
diff --git a/pkg/compiler/lib/src/js_backend/patch_resolver.dart b/pkg/compiler/lib/src/js_backend/patch_resolver.dart |
index fc836c379178f0b4b28fbaebc96f3daa821e4364..0dfd302191f10ccbfc9ba88b22a7cc28b9adf2f8 100644 |
--- a/pkg/compiler/lib/src/js_backend/patch_resolver.dart |
+++ b/pkg/compiler/lib/src/js_backend/patch_resolver.dart |
@@ -33,7 +33,7 @@ class PatchResolverTask extends CompilerTask { |
}); |
checkMatchingPatchSignatures(element, patch); |
element = patch; |
- } else if (!compiler.backend.nativeData.isJsInterop(element)) { |
+ } else { |
reporter.reportErrorMessage( |
element, MessageKind.PATCH_EXTERNAL_WITHOUT_IMPLEMENTATION); |
} |