stupid typo

This commit is contained in:
Araq
2025-11-11 10:55:30 +01:00
parent 13d30b9341
commit 820a51ee6d

View File

@@ -870,12 +870,12 @@ proc setOwner*(s: PSym|PType, owner: PSym) {.inline.} =
# but we still provide an accessor that checks state
proc kind*(s: PSym): TSymKind {.inline.} =
if s.state == Partial: loadSym(s)
result = s.kind
result = s.kindImpl
proc `kind=`*(s: PSym, val: TSymKind) {.inline.} =
assert s.state != Sealed
if s.state == Partial: loadSym(s)
s.kind = val
s.kindImpl = val
proc gcUnsafetyReason*(s: PSym): PSym {.inline.} =
if s.state == Partial: loadSym(s)