From 6f976bcfd976c236bf81feb7bb86c581a2366a9f Mon Sep 17 00:00:00 2001 From: araq Date: Wed, 12 Nov 2025 16:28:41 +0100 Subject: [PATCH] be lenient --- compiler/ast.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/ast.nim b/compiler/ast.nim index 97334013fd..d5944cfc67 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -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