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 / st_field_of_array.osc

6 lines · 143 bytes Raw Blame History
1// expect: TYPE_MISMATCH object=return line=5
2// transition: type mismatch
3fn f() -> u8 {
4 let a: own [u8; 2] = alloc(1);
5 return a.v;
6}