Index: sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
index 0eda87642004c790e7bfd5ccf8b4783028d216ce..f2e4f8fd6e361216d7741825ab748efc3789ba4b 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
@@ -1849,7 +1849,7 @@ $lazyInitializerLogic |
} |
List<js.Expression> argNames = |
- selector.getOrderedNamedArguments().mappedBy((SourceString name) => |
+ selector.getOrderedNamedArguments().map((SourceString name) => |
js.string(name.slowToString())).toList(); |
String internalName = namer.invocationMirrorInternalName(selector); |
@@ -1870,7 +1870,7 @@ $lazyInitializerLogic |
js.string(internalName), |
new js.LiteralNumber('$type'), |
new js.ArrayInitializer.from( |
- parameters.mappedBy((param) => js.use(param.name)) |
+ parameters.map((param) => js.use(param.name)) |
.toList()), |
new js.ArrayInitializer.from(argNames)])]); |
js.Expression function = |