Index: pkg/compiler/lib/src/cps_ir/bounds_checker.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/bounds_checker.dart b/pkg/compiler/lib/src/cps_ir/bounds_checker.dart |
index b357c9958b44be221c14425f98f7c62dd682b583..1197012957cbda481184912f6ec1eac29f463759 100644 |
--- a/pkg/compiler/lib/src/cps_ir/bounds_checker.dart |
+++ b/pkg/compiler/lib/src/cps_ir/bounds_checker.dart |
@@ -632,9 +632,9 @@ class BoundsChecker extends TrampolineRecursiveVisitor implements Pass { |
// was not rewritten to GetLength. But if we can prove that the call only |
// succeeds for indexables, we can trust that it returns the length. |
TypeMask successType = |
- types.receiverTypeFor(node.selector, node.dartReceiver.type); |
+ types.receiverTypeFor(node.selector, node.receiver.type); |
if (types.isDefinitelyIndexable(successType)) { |
- valueOf[node] = getLength(node.dartReceiver, currentEffectNumber); |
+ valueOf[node] = getLength(node.receiver, currentEffectNumber); |
} |
} |
} |