omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / si / 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 |