interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / tests / compiler / neg / tm_non_bool_clause.osc

7 lines · 141 bytes Raw Blame History
1// expect: TYPE_MISMATCH object=requires line=4
2// a clause must be a bool expression
3fn f(x: u8) -> u8
4 requires x + 1
5{
6 return x;
7}