diff options
| author | WormHeamer | 2025-08-07 23:26:45 -0400 |
|---|---|---|
| committer | WormHeamer | 2025-08-07 23:26:45 -0400 |
| commit | ff9dc0a669474afab22765f0daa91fe89afb40e5 (patch) | |
| tree | 404cfccc8b39f506a65b00a55378d7abd41d239f /test.lang | |
| parent | 027b6d8f62281f5b513a2b7bfcc02ea833c2cfd2 (diff) | |
hopefully make multiple returns form sensible graphs
Diffstat (limited to 'test.lang')
| -rw-r--r-- | test.lang | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,8 +1,6 @@ func main(a, b i64) i64 { - if true { - a := 3 - } else { - a := 5 + if a < b { + return a + b } - return a + return b } |
