diff options
Diffstat (limited to 'lib/core')
-rw-r--r-- | lib/core/typeinfo.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/core/typeinfo.nim b/lib/core/typeinfo.nim index fff237718..c15f6dc1f 100644 --- a/lib/core/typeinfo.nim +++ b/lib/core/typeinfo.nim @@ -372,6 +372,7 @@ proc cmpIgnoreStyle(a, b: cstring): int {.noSideEffect.} = else: result = c var i = 0 var j = 0 + if a[0] != b[0]: return 1 while true: while a[i] == '_': inc(i) while b[j] == '_': inc(j) # BUGFIX: typo |