diff options
| author | WormHeamer | 2025-08-10 05:20:40 -0400 |
|---|---|---|
| committer | WormHeamer | 2025-08-10 05:20:40 -0400 |
| commit | a9810c2281a2c4fc2265aa8c59fa9bf101e3a3b5 (patch) | |
| tree | a9afaee0d6514505ccd35343bca8bb931a196f76 /test.lang | |
| parent | c9980711ce42de9cf58db35f41ce1ac42bfea0c7 (diff) | |
better error reporting around uninitialized values
Diffstat (limited to 'test.lang')
| -rw-r--r-- | test.lang | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,11 +1,12 @@ func main(a, b i64) i64 { let x i64, y bool - if a < b { + if true { let t = a a := b b := t + x := 3 } else { - x := 2 + //x := 2 } - return (a + b) + x + return x } |
