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

Unified Diff: lib/src/scan.dart

Issue 2993483002: Update comment style generic syntax (Closed)
Patch Set: Created 3 years, 5 months 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 | « no previous file | lib/src/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/scan.dart
diff --git a/lib/src/scan.dart b/lib/src/scan.dart
index 6ba7a725fb898c0480ea2e41776045d3222b5184..96409dca2b8b86e5289552f8fd4a395c11d24c74 100644
--- a/lib/src/scan.dart
+++ b/lib/src/scan.dart
@@ -37,8 +37,8 @@ final whitespace = new RegExp("(?:${_lws.pattern})*");
///
/// Once this is finished, [scanner] will be at the next non-LWS character in
/// the string, or the end of the string.
-List/*<T>*/ parseList/*<T>*/(StringScanner scanner, /*=T*/ parseElement()) {
- var result = /*<T>*/ [];
+List<T> parseList<T>(StringScanner scanner, T parseElement()) {
+ var result = <T> [];
Nate Bosch 2017/07/31 17:06:52 Have you run dartfmt? I wouldn't expect the space
keertip 2017/07/31 17:33:27 Looks like it did not. Done.
// Consume initial empty values.
while (scanner.scan(",")) {
« no previous file with comments | « no previous file | lib/src/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698