diff --git a/compiler/semasgn.nim b/compiler/liftdestructors.nim similarity index 100% rename from compiler/semasgn.nim rename to compiler/liftdestructors.nim diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim index 859856e48e..e2f7b63039 100644 --- a/compiler/semstmts.nim +++ b/compiler/semstmts.nim @@ -339,7 +339,7 @@ proc checkNilable(c: PContext; v: PSym) = elif tfNotNil in v.typ.flags and tfNotNil notin v.astdef.typ.flags: message(c.config, v.info, warnProveInit, v.name.s) -include semasgn +include liftdestructors proc addToVarSection(c: PContext; result: PNode; orig, identDefs: PNode) = let L = identDefs.len