style: no implicit casts and dynamic

This commit is contained in:
Aleksey Kulikov 2021-10-22 17:25:06 +03:00
parent 7b14ee6b9b
commit f3fbc80f8e
11 changed files with 49 additions and 36 deletions

View file

@ -648,7 +648,7 @@ class Repository {
Index revertCommit({
required Commit revertCommit,
required Commit ourCommit,
mainline = 0,
int mainline = 0,
}) {
return Index(commit_bindings.revertCommit(
repoPointer: _repoPointer,
@ -986,7 +986,7 @@ class Repository {
head.free();
ref.free();
return [analysisSet, mergePreference];
return <Object>[analysisSet, mergePreference];
}
/// Merges the given commit [oid] into HEAD, writing the results into the