add missing type parameter on methods (#22096)

This commit is contained in:
Alexandre Ardhuin
2018-10-01 21:29:08 +02:00
committed by GitHub
parent 48fb726b01
commit f62afdcf57
211 changed files with 504 additions and 503 deletions

View File

@@ -105,7 +105,7 @@ void main(List<String> args) {
exit(1);
}
final List<int> parts = match.groups(<int>[1, 2, 3]).map(int.parse).toList();
final List<int> parts = match.groups(<int>[1, 2, 3]).map<int>(int.parse).toList();
if (match.group(4) == '0') {
print('This commit has already been released, as version ${parts.join(".")}.');