From 1867f465698cafe673f8d8c921e7f7bb5b971d00 Mon Sep 17 00:00:00 2001 From: araq Date: Tue, 13 Jan 2026 23:32:57 +0100 Subject: [PATCH] fixes regression --- compiler/ast2nif.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/compiler/ast2nif.nim b/compiler/ast2nif.nim index dc7a422228..d470dcf60f 100644 --- a/compiler/ast2nif.nim +++ b/compiler/ast2nif.nim @@ -1658,8 +1658,6 @@ proc loadNifModule*(c: var DecodeContext; suffix: ModuleSuffix; interf, interfHi # Load the module AST (or just replay actions if loadFullAst is false) let s = addr c.mods[module].stream - s.r.jumpTo 0 # Start from beginning - discard processDirectives(s.r) var t = next(s[]) if t.kind == ParLe and pool.tags[t.tagId] == toNifTag(nkStmtList): t = next(s[]) # skip (stmts