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 7c7e63569cb9ec177d62282efb415fc14ea6f9ee..a60a7c928703b62d0d2f224173adf1da75c0607d 100644 |
--- a/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart |
+++ b/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart |
@@ -523,7 +523,7 @@ class _ReferenceProcessor { |
ref._methodExpressionPart, _refUtils, usage, target, arguments); |
if (getExpressionPrecedence(ref._methodExpression) < |
getExpressionParentPrecedence(usage)) { |
- source = "(${source})"; |
+ source = "($source)"; |
} |
// do replace |
SourceRange methodUsageRange = rangeNode(usage); |