From a65945cedc6b24b2d65758dfd412036494a7196a Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 16 Nov 2025 20:33:26 +0100 Subject: [PATCH] progress --- compiler/ast2nif.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/ast2nif.nim b/compiler/ast2nif.nim index c99ef3cee4..dbf388e9d6 100644 --- a/compiler/ast2nif.nim +++ b/compiler/ast2nif.nim @@ -478,7 +478,8 @@ proc writeNifModule*(config: ConfigRef; thisModule: int32; n: PNode) = dest.add inner dest.addParRi() - writeFileAndIndex d, dest + writeFile(dest, d) + createIndex(d, false, dest[0].info) # --------------------------- Loader (lazy!) -----------------------------------------------