sovereign-intelligence
Front door to Drake Stapleton's sovereign stack.
Brought by drakestapleton
sovereign-intelligence / harness / examples / mistake_return.om
| 1 | note mistake_return: the word is ret. The = of an assignment is optional, so return x silently assigns x to a new name return; here the function then has no ret, error 18 |
| 2 | fn main to int |
| 3 | x = int 1 |
| 4 | return x |
| 5 | end |