Soft returning refactor

This commit is contained in:
2026-05-24 13:20:08 +02:00
parent f4fe38140a
commit 63cc20107c
8 changed files with 61 additions and 21 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ impl GenRust for Expression {
if ensure_semicolon {
ctx.expr_ensure_semicolon = true;
if !self.is_block() {
if !self.is_soft_return() {
cg.add(";");
}
}