Improved codegen

This commit is contained in:
2026-05-22 02:34:01 +02:00
parent c9a3c4693c
commit 960cc40886
5 changed files with 38 additions and 20 deletions
+5 -2
View File
@@ -166,9 +166,12 @@ impl GenRust for Postfix {
Postfix::Call(args) => {
cg.add("(");
for arg in args {
for (i, arg) in args.iter().enumerate() {
if i > 0 {
cg.add(", ");
}
arg.gen_rust(ctx, cg);
cg.add(", ");
}
cg.add(")");