| Index: pkg/analyzer2dart/lib/src/cps_generator.dart
|
| diff --git a/pkg/analyzer2dart/lib/src/cps_generator.dart b/pkg/analyzer2dart/lib/src/cps_generator.dart
|
| index b8ca03926356dc802591007acea44cf0bd8e4482..7efa4230461449f143e5dbec2adc3d6d24876d7f 100644
|
| --- a/pkg/analyzer2dart/lib/src/cps_generator.dart
|
| +++ b/pkg/analyzer2dart/lib/src/cps_generator.dart
|
| @@ -87,7 +87,7 @@ class CpsGeneratingVisitor extends SemanticVisitor<ir.Node>
|
| function.parameters.forEach((analyzer.ParameterElement parameter) {
|
| // TODO(johnniwinther): Support "closure variables", that is variables
|
| // accessed from an inner function.
|
| - irBuilder.createParameter(converter.convertElement(parameter));
|
| + irBuilder.createFunctionParameter(converter.convertElement(parameter));
|
| });
|
| // Visit the body directly to avoid processing the signature as
|
| // expressions.
|
|
|