mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-20 07:51:32 +00:00
fixes some strictdefs warnings (#24502)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user