be lenient

This commit is contained in:
araq
2025-11-12 16:28:41 +01:00
parent 1f1c205ce0
commit 6f976bcfd9

View File

@@ -101,7 +101,8 @@ proc transformedBody*(s: PSym): PNode {.inline.} =
result = s.transformedBodyImpl
proc `transformedBody=`*(s: PSym, val: PNode) {.inline.} =
assert s.state != Sealed
#assert s.state != Sealed
# Make an exception here for this misfeature...
if s.state == Partial: loadSym(s)
s.transformedBodyImpl = val