| Index: pkg/compiler/lib/src/ssa/builder.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
|
| index 76070774a5bff3f0d5b9cf3d2f4196cee0c3ff2f..e5c421d09f858c7f4261bc1a9214b3ab6e5e60f9 100644
|
| --- a/pkg/compiler/lib/src/ssa/builder.dart
|
| +++ b/pkg/compiler/lib/src/ssa/builder.dart
|
| @@ -283,7 +283,7 @@ class LocalsHandler {
|
| (LocalVariableElement from, BoxFieldElement to) {
|
| // The [from] can only be a parameter for function-scopes and not
|
| // loop scopes.
|
| - if (from.isParameter && !element.isGenerativeConstructorBody) {
|
| + if (from.isRegularParameter && !element.isGenerativeConstructorBody) {
|
| // Now that the redirection is set up, the update to the local will
|
| // write the parameter value into the box.
|
| // Store the captured parameter in the box. Get the current value
|
|
|