added field for lazy loading purposes

This commit is contained in:
araq
2024-10-19 10:32:00 +02:00
parent 25c068c070
commit e543ea9e7c

View File

@@ -703,6 +703,8 @@ type
typ*: PType
name*: PIdent
info*: TLineInfo
when defined(nimGear2):
loadFrom*: pointer
when defined(nimsuggest):
endInfo*: TLineInfo
hasUserSpecifiedType*: bool # used for determining whether to display inlay type hints
@@ -766,6 +768,8 @@ type
callConv*: TCallingConvention # for procs
flags*: TTypeFlags # flags of the type
sons: TTypeSeq # base types, etc.
when defined(nimGear2):
loadFrom*: pointer
n*: PNode # node for types:
# for range types a nkRange node
# for record types a nkRecord node