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

@ -91,7 +91,7 @@ List revParseExt({
calloc.free(referenceOut);
throw LibGit2Error(libgit2.git_error_last());
} else {
var result = [];
var result = <Pointer>[];
result.add(objectOut.value);
if (referenceOut.value != nullptr) {
result.add(referenceOut.value);