diff --git a/compiler/injectdestructors.nim b/compiler/injectdestructors.nim index 4fe4cb1da8..b8b8e776e4 100644 --- a/compiler/injectdestructors.nim +++ b/compiler/injectdestructors.nim @@ -728,6 +728,9 @@ proc p(n: PNode; c: var Con; s: var Scope; mode: ProcessMode): PNode = for i in ord(n.kind in {nkObjConstr, nkClosure})..