diff options
| author | WormHeamer | 2025-08-05 01:35:21 -0400 |
|---|---|---|
| committer | WormHeamer | 2025-08-05 01:35:21 -0400 |
| commit | beee7d5d34d6d37649b544de33db36f389648897 (patch) | |
| tree | f697611f882477ee1bb0112d44f1928f49e9df0c /test.lang | |
| parent | 6ab9f2fb0e3d7a6e6db182d5e4eec10c42bf5372 (diff) | |
allow `proc main(a, b, c i64)` and such
Diffstat (limited to 'test.lang')
| -rw-r--r-- | test.lang | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -8,8 +8,10 @@ // also single-line now -proc main(a i64) { +proc main(a, b i64, c, d, e bool) { let x = (a + -a) = (a xor a) let y = (a + a) = (a * 2) - return (x & y & (a = a) & (a = ~a)) | ((a + 2) <> a) + //return (x & y & (a = a) & (a = ~a)) | ((a - a) = (a + a)) + //return (a - a) = (a + a) + return c = d = e } |
