Fix modules that import both strutils and unicode

This is only an issue when a proc in both modules that is named the same
is used, such as toLower or toUpper for strings.
This commit is contained in:
Joey Payne 2016-06-21 15:17:13 -06:00
commit b1ab82715e
2 changed files with 5 additions and 5 deletions

View file

@ -1841,8 +1841,8 @@ when isMainModule:
result.add ", "
result.add case n:
of 2: c[0].toLower & ": '" & c[1] & "'"
of 1: c[0].toLower & ": ''"
of 2: toLowerAscii(c[0]) & ": '" & c[1] & "'"
of 1: toLowerAscii(c[0]) & ": ''"
else: ""
assert("Var1=key1;var2=Key2; VAR3".