even more strict isNil handling for strings/seqs in order to detect bugs

This commit is contained in:
Araq
2018-08-22 12:35:46 +02:00
parent 9047c3f582
commit 64517445ea
36 changed files with 193 additions and 245 deletions

View File

@@ -61,7 +61,6 @@ proc unidecode*(s: string): string =
##
## Results in: "Bei Jing"
##
assert(not isNil(translationTable))
result = ""
for r in runes(s):
var c = int(r)