explicitly return from blocks
instead of last statement being expression value closes #629
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export fn add(a: i32, b: i32) -> i32 {
|
||||
a + b
|
||||
return a + b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user