Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(909)

Unified Diff: lib/src/argument_list_visitor.dart

Issue 2526633002: Support generic methods. Fix #556. (Closed)
Patch Set: Merge branch 'master' into generic-methods Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/call_chain_visitor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/argument_list_visitor.dart
diff --git a/lib/src/argument_list_visitor.dart b/lib/src/argument_list_visitor.dart
index 843d757aa0c0035284d6d9925b1750f857073fb6..38bc6eb04476037866aa374796e38a657a7885a7 100644
--- a/lib/src/argument_list_visitor.dart
+++ b/lib/src/argument_list_visitor.dart
@@ -153,9 +153,6 @@ class ArgumentListVisitor {
// split before it, so try not to.
if (_isSingle) _visitor.builder.startSpan();
- // Nest around the parentheses in case there are comments before or after
- // them.
- _visitor.builder.nestExpression();
_visitor.builder.startSpan();
_visitor.token(_leftParenthesis);
@@ -193,8 +190,6 @@ class ArgumentListVisitor {
_visitor.token(_rightParenthesis);
- _visitor.builder.unnest();
-
if (_isSingle) _visitor.builder.endSpan();
}
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/call_chain_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698