Index: lib/src/scan.dart |
diff --git a/lib/src/scan.dart b/lib/src/scan.dart |
index 3541038438ced5cb8ea69daa5e31ccfa4fc34a8e..9af8428a212362481d2a2e006b7eb95c850b2cda 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 parseList(StringScanner scanner, parseElement()) { |
- var result = []; |
+List/*<T>*/ parseList/*<T>*/(StringScanner scanner, /*=T*/ parseElement()) { |
+ var result = /*<T>*/[]; |
// Consume initial empty values. |
while (scanner.scan(",")) { |