fixes #2551; fixes #2212; breaks bootstrapping in debug mode; bootstrap with -d:release

This commit is contained in:
Araq 2015-04-24 17:07:36 +02:00
commit ecc0090939
5 changed files with 38 additions and 17 deletions

View file

@ -176,7 +176,7 @@ proc mangle*(name: string): string =
result = newStringOfCap(name.len)
case name[0]
of Letters:
result.add(name[0].toLower)
result.add(name[0])
of Digits:
result.add("N" & name[0])
else: