| Index: pkg/kernel/lib/transformations/closure/converter.dart
|
| diff --git a/pkg/kernel/lib/transformations/closure/converter.dart b/pkg/kernel/lib/transformations/closure/converter.dart
|
| index a616a77b7e1e18f43d0a8cc27f712d952f4ab693..b4edd6df9e61333a438ca0c26d84a3f0bd8d9fbf 100644
|
| --- a/pkg/kernel/lib/transformations/closure/converter.dart
|
| +++ b/pkg/kernel/lib/transformations/closure/converter.dart
|
| @@ -538,8 +538,8 @@ class ClosureConverter extends Transformer {
|
|
|
| VariableDeclaration getReplacementLoopVariable(VariableDeclaration variable) {
|
| VariableDeclaration newVariable = new VariableDeclaration(variable.name,
|
| - initializer: variable.initializer,
|
| - type: variable.type)..flags = variable.flags;
|
| + initializer: variable.initializer, type: variable.type)
|
| + ..flags = variable.flags;
|
| variable.initializer = new VariableGet(newVariable);
|
| variable.initializer.parent = variable;
|
| return newVariable;
|
|
|