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

6 lines · 155 bytes Raw Blame History
1// expect: TYPE_MISMATCH object=v line=5
2// transition: array field length mismatch
3struct A { v: [u8; 3] }
4fn f() {
5 let a: own A = A { v: [1; 4] };
6}