sovereign-intelligence
Front door to Drake Stapleton's sovereign stack.
Brought by drakestapleton
sovereign-intelligence / harness / examples / mistake_value_stmt.om
| 1 | note mistake_value_stmt: a function with a result cannot be a statement; bind its result. Fix: v = f |
| 2 | fn f to int |
| 3 | ret 1 |
| 4 | end |
| 5 | fn main to int |
| 6 | f |
| 7 | ret 0 |
| 8 | end |