Index: sdk/lib/_internal/compiler/implementation/js/nodes.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js/nodes.dart b/sdk/lib/_internal/compiler/implementation/js/nodes.dart |
index 8a4960a6faba19505f37b987397fc26112f91224..148547e5076023b6ae6f05611a77d55b6c895b78 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js/nodes.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js/nodes.dart |
@@ -791,7 +791,7 @@ class ArrayInitializer extends Expression { |
static List<ArrayElement> _convert(List<Expression> expressions) { |
int index = 0; |
- return expressions.mappedBy( |
+ return expressions.map( |
(expression) => new ArrayElement(index++, expression)) |
.toList(); |
} |
@@ -896,8 +896,7 @@ Call call(Expression target, List<Expression> arguments) { |
} |
Fun fun(List<String> parameterNames, Block body) { |
- return new Fun(parameterNames.mappedBy((n) => new Parameter(n)).toList(), |
- body); |
+ return new Fun(parameterNames.map((n) => new Parameter(n)).toList(), body); |
} |
Assignment assign(Expression leftHandSide, Expression value) { |