cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744)
This commit is contained in:
parent
8e474fbb57
commit
7e94420847
32 changed files with 79 additions and 79 deletions
|
|
@ -92,7 +92,7 @@ proc annotateType*(n: PNode, t: PType; conf: ConfigRef) =
|
|||
else:
|
||||
globalError(conf, n.info, "integer literal must have some int type")
|
||||
of nkStrLit..nkTripleStrLit:
|
||||
if x.kind in {tyString, tyCString}:
|
||||
if x.kind in {tyString, tyCstring}:
|
||||
n.typ = t
|
||||
else:
|
||||
globalError(conf, n.info, "string literal must be of some string type")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue