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 4e8d40d03a345ae14eb4343b771037e216a70316..b090dec0a778c4934b1a6e071fead1c1f8f452ec 100644 |
--- a/pkg/compiler/lib/src/cps_ir/type_propagation.dart |
+++ b/pkg/compiler/lib/src/cps_ir/type_propagation.dart |
@@ -43,7 +43,7 @@ class TypeMaskSystem { |
TypeMask get listType => inferrer.listType; |
TypeMask get mapType => inferrer.mapType; |
TypeMask get nonNullType => inferrer.nonNullType; |
- TypeMask get mutableNativeListType => backend.mutableArrayType; |
+ TypeMask get extendableNativeListType => backend.extendableArrayType; |
TypeMask numStringBoolType; |
@@ -2260,7 +2260,7 @@ class TypePropagationVisitor implements Visitor { |
void visitLiteralList(LiteralList node) { |
// Constant lists are translated into (Constant ListConstant(...)) IR nodes, |
// and thus LiteralList nodes are NonConst. |
- setValue(node, nonConstant(typeSystem.mutableNativeListType)); |
+ setValue(node, nonConstant(typeSystem.extendableNativeListType)); |
} |
void visitLiteralMap(LiteralMap node) { |