Fix formatter bugs

This commit is contained in:
2026-06-26 01:29:51 +02:00
parent e5509e89a4
commit 6c9c0e03d2
13 changed files with 173 additions and 84 deletions
+5 -2
View File
@@ -46,8 +46,11 @@ pub void test_nested_fn_calls() {
}
i32 factorial(i32 n) {
if n <= 1 { 1 }
else { n * factorial(n - 1) }
if n <= 1 {
1
} else {
n * factorial(n - 1)
}
}
pub void test_recursive_fn() {