omega-harness
Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories
Brought by drakestapleton
omega-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 |