diff --git a/compiler/ast.nim b/compiler/ast.nim index 5191e1e2921..8afe80b78c8 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -2137,7 +2137,7 @@ template transitionNodeKindCommon(k, old: TNodeKind) = for clear in clears.items: case clear - of nodeClearAst: state.astData.del(n.id) + of nodeClearAst: discard # state.astData.del(n.id) of nodeClearFlg: state.nodeFlag[n.idx] = {} of nodeClearInf: state.nodeInf[n.idx] = unknownLineInfo of nodeClearTyp: state.nodeTyp.del(n.id)