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
|
|
@ -1283,7 +1283,7 @@ proc typeNilability(typ: PType): Nilability =
|
|||
# echo "typeNilability ", $typ.flags, " ", $typ.kind
|
||||
result = if tfNotNil in typ.flags:
|
||||
Safe
|
||||
elif typ.kind in {tyRef, tyCString, tyPtr, tyPointer}:
|
||||
elif typ.kind in {tyRef, tyCstring, tyPtr, tyPointer}:
|
||||
#
|
||||
# tyVar ? tyVarargs ? tySink ? tyLent ?
|
||||
# TODO spec? tests?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue