Working soft return

This commit is contained in:
2026-05-21 07:59:00 +02:00
parent 70e6eb6276
commit 7688599504
5 changed files with 25 additions and 5 deletions
+4
View File
@@ -326,6 +326,10 @@ impl ToRust for Block {
for stmt in self.0 {
cg.add_indentedln(&(stmt.get_rust() + ";"));
}
if let Some(soft_return) = self.1 {
cg.add_indentedln(&soft_return.get_rust());
}
}
}