get rid of deprecated toLower/toUpper
This commit is contained in:
parent
dc4b2c920c
commit
9605435f2e
8 changed files with 16 additions and 15 deletions
|
|
@ -1038,7 +1038,7 @@ proc semGenericParamInInvocation(c: PContext, n: PNode): PType =
|
|||
proc semGeneric(c: PContext, n: PNode, s: PSym, prev: PType): PType =
|
||||
if s.typ == nil:
|
||||
localError(n.info, "cannot instantiate the '$1' $2" %
|
||||
[s.name.s, ($s.kind).substr(2).toLower])
|
||||
[s.name.s, ($s.kind).substr(2).toLowerAscii])
|
||||
return newOrPrevType(tyError, prev, c)
|
||||
|
||||
var t = s.typ
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue