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

6 lines · 158 bytes Raw Blame History
1// expect: TYPE_MISMATCH object=z line=4
2// no implicit widening: u32 + u64 is refused.
3fn f(x: u32, y: u64) -> u64 {
4 let z: u64 = x + y;
5 return z;
6}