| Index: pkg/analysis_server/lib/src/services/refactoring/inline_method.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart b/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart
|
| index 35ba073bc4c990e5b3036b54f613b0a32e48102d..7c7e63569cb9ec177d62282efb415fc14ea6f9ee 100644
|
| --- a/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart
|
| +++ b/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart
|
| @@ -45,13 +45,17 @@ SourceRange _getLocalsConflictingRange(AstNode node) {
|
| * Returns the source which should replace given invocation with given
|
| * arguments.
|
| */
|
| -String _getMethodSourceForInvocation(RefactoringStatus status, _SourcePart part,
|
| - CorrectionUtils utils, AstNode contextNode, Expression targetExpression,
|
| +String _getMethodSourceForInvocation(
|
| + RefactoringStatus status,
|
| + _SourcePart part,
|
| + CorrectionUtils utils,
|
| + AstNode contextNode,
|
| + Expression targetExpression,
|
| List<Expression> arguments) {
|
| // prepare edits to replace parameters with arguments
|
| List<SourceEdit> edits = <SourceEdit>[];
|
| - part._parameters.forEach((ParameterElement parameter,
|
| - List<_ParameterOccurrence> occurrences) {
|
| + part._parameters.forEach(
|
| + (ParameterElement parameter, List<_ParameterOccurrence> occurrences) {
|
| // prepare argument
|
| Expression argument = null;
|
| for (Expression arg in arguments) {
|
|
|