| Index: pkg/compiler/lib/src/resolution/members.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart
|
| index 0ea0739f795f3a1c7bba31d4e7f171113fe11239..c83439076421af3d1ec7384142d75f13b0b89f04 100644
|
| --- a/pkg/compiler/lib/src/resolution/members.dart
|
| +++ b/pkg/compiler/lib/src/resolution/members.dart
|
| @@ -1200,7 +1200,7 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
|
| }
|
| }
|
|
|
| - if (target != null && target.isForeign(compiler.backend)) {
|
| + if (target != null && compiler.backend.isForeign(target)) {
|
| if (selector.name == 'JS') {
|
| registry.registerJsCall(node, this);
|
| } else if (selector.name == 'JS_EMBEDDED_GLOBAL') {
|
|
|