-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
so in js this is wrong:
cmp("foo", "foo") = 0
cmp("foo_bar", "foo") = 95
cmp("foo", "foo_bar") = 0
It does not check when you go over the length of the string if the first string is smaller.
Line 415 in 85b00af
| proc cmpStrings(a, b: string): int {.asmNoStackFrame, compilerProc.} = |