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