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 15d5ee9d17fd29547b1f175d25b78ecf4716d811..99e4a2b1404cc258868bdd1e102f0efa31618409 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
@@ -1835,7 +1835,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); |
@@ -1856,7 +1856,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 = |