From 2661513ba200d429e47d8ca86fab7ab7fcd2e04d Mon Sep 17 00:00:00 2001 From: Lukasz Czajka Date: Wed, 8 Jan 2025 10:31:56 +0100 Subject: [PATCH] fix Rust code generation --- src/Juvix/Compiler/Backend/Rust/Translation/FromReg.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Juvix/Compiler/Backend/Rust/Translation/FromReg.hs b/src/Juvix/Compiler/Backend/Rust/Translation/FromReg.hs index fd06b6affb..930de1a0dc 100644 --- a/src/Juvix/Compiler/Backend/Rust/Translation/FromReg.hs +++ b/src/Juvix/Compiler/Backend/Rust/Translation/FromReg.hs @@ -331,7 +331,7 @@ fromRegInstr info = \case ] Reg.CallClosure vr -> [ stmtAssign - "funid" + "(funid, args)" ( mkCall "mem.call_closure" [fromVarRef vr, mkArray ((map fromValue _instrTailCallArgs))]