Index: pkg/compiler/lib/src/cps_ir/type_propagation.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/type_propagation.dart b/pkg/compiler/lib/src/cps_ir/type_propagation.dart |
index 383b39fb68ce20471bb7b6a76aadfcea68172dd6..a0129baac2c1d365bc96577f995cbe4642bf4a74 100644 |
--- a/pkg/compiler/lib/src/cps_ir/type_propagation.dart |
+++ b/pkg/compiler/lib/src/cps_ir/type_propagation.dart |
@@ -834,7 +834,7 @@ class TransformingVisitor extends LeafVisitor { |
if (target is! FieldElement) return false; |
// TODO(asgerf): Inlining native fields will make some tests pass for the |
// wrong reason, so for testing reasons avoid inlining them. |
- if (target.isNative) return false; |
+ if (target.isNative || target.isJsInterop) return false; |
Continuation cont = node.continuation.definition; |
if (node.selector.isGetter) { |
GetField get = new GetField(getDartReceiver(node), target); |