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_bool_arith.osc

6 lines · 127 bytes Raw Blame History
1// expect: TYPE_MISMATCH object=z line=4
2// bool in arithmetic.
3fn f(b: bool) -> i32 {
4 let z: i32 = b + 1;
5 return z;
6}