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
|
|
@ -242,7 +242,7 @@ proc computeSizeAlign(conf: ConfigRef; typ: PType) =
|
|||
else:
|
||||
typ.size = conf.target.ptrSize
|
||||
typ.align = int16(conf.target.ptrSize)
|
||||
of tyCString, tySequence, tyPtr, tyRef, tyVar, tyLent:
|
||||
of tyCstring, tySequence, tyPtr, tyRef, tyVar, tyLent:
|
||||
let base = typ.lastSon
|
||||
if base == typ:
|
||||
# this is not the correct location to detect ``type A = ptr A``
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue