add missing type parameter on methods (#22096)
This commit is contained in:
committed by
GitHub
parent
48fb726b01
commit
f62afdcf57
@@ -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(".")}.');
|
||||
|
||||
Reference in New Issue
Block a user