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 / tests / compiler / neg / tm_non_bool_clause.osc
| 1 | // expect: TYPE_MISMATCH object=requires line=4 |
| 2 | // a clause must be a bool expression |
| 3 | fn f(x: u8) -> u8 |
| 4 | requires x + 1 |
| 5 | { |
| 6 | return x; |
| 7 | } |