From 820a51ee6d6d43898dd2ad01463894ddee1afc96 Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 11 Nov 2025 10:55:30 +0100 Subject: [PATCH] stupid typo --- compiler/ast.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/ast.nim b/compiler/ast.nim index 14f437c763..92b34cf087 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -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)