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