| Index: sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart b/sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart
|
| index ac5968b9029dec8f52907b1bb68105130b83fd70..497ee132758cd3943e4d1664f3ee1323e6342b33 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart
|
| @@ -76,13 +76,16 @@ $lazyInitializerLogic
|
| return new js.NamedFunction(
|
| new js.VariableDeclaration(mangledName),
|
| new js.Fun(
|
| - fieldNames.map((fieldName) => new js.Parameter(fieldName)),
|
| + fieldNames
|
| + .mappedBy((fieldName) => new js.Parameter(fieldName))
|
| + .toList(),
|
| new js.Block(
|
| - fieldNames.map((fieldName) =>
|
| + fieldNames.mappedBy((fieldName) =>
|
| new js.ExpressionStatement(
|
| new js.Assignment(
|
| new js.This().dot(fieldName),
|
| - new js.VariableUse(fieldName)))))));
|
| + new js.VariableUse(fieldName))))
|
| + .toList())));
|
| }
|
|
|
| void emitBoundClosureClassHeader(String mangledName,
|
|
|