| Index: pkg/compiler/lib/src/ssa/locals_handler.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/locals_handler.dart b/pkg/compiler/lib/src/ssa/locals_handler.dart
|
| index 3d0ff281544f3262bcc76c8d328fb6c736dc3f31..db914d3e723d58d1e76a2a6c4f64a19b2dc1d57f 100644
|
| --- a/pkg/compiler/lib/src/ssa/locals_handler.dart
|
| +++ b/pkg/compiler/lib/src/ssa/locals_handler.dart
|
| @@ -205,7 +205,7 @@ class LocalsHandler {
|
|
|
| parameters.forEach((Local local, TypeMask typeMask) {
|
| if (isGenerativeConstructorBody) {
|
| - if (scopeData != null && scopeData.isCapturedVariable(local)) {
|
| + if (scopeData != null && scopeData.isCaptured(local)) {
|
| // The parameter will be a field in the box passed as the
|
| // last parameter. So no need to have it.
|
| return;
|
|
|