Identifier setting via struct #59

This commit is contained in:
2026-06-04 18:20:54 +02:00
parent d4dc1571b2
commit 6cacfd7135
4 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -200,8 +200,10 @@ impl GenRust for Postfix {
for (name, expr) in fields {
cg.add(&name.get_rust());
cg.add(": ");
expr.gen_rust(ctx, cg);
if let Some(expr) = expr {
cg.add(": ");
expr.gen_rust(ctx, cg);
}
cg.add(",");
}