fixes some strictdefs warnings (#24502)

This commit is contained in:
ringabout
2024-12-04 18:28:13 +08:00
committed by GitHub
parent c3120b6121
commit 8f4bfda5f4
19 changed files with 44 additions and 15 deletions

View File

@@ -117,6 +117,7 @@ template divImplFallback(name, T) {.dirty.} =
if a == low(T) and b == T(-1):
result = true
else:
result = false
res[] = a div b
divImplFallback(nimDivInt, int)