more strictdef fixes for stdlibs (#24535)

This commit is contained in:
ringabout
2024-12-14 02:06:43 +08:00
committed by GitHub
parent be4d19e562
commit d31cce557b
21 changed files with 140 additions and 97 deletions

View File

@@ -111,3 +111,5 @@ func find*(s, sub: cstring, start: Natural = 0, last = 0): int =
result = cast[int](found) -% cast[int](s)
else:
result = -1
else:
result = 0