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
omega-mv / tests / compiler / neg / st_array_field_scalar_init.osc
| 1 | // expect: TYPE_MISMATCH object=v line=5 |
| 2 | // transition: array field without [e; N] |
| 3 | struct A { v: [u8; 3] } |
| 4 | fn f() { |
| 5 | let a: own A = A { v: 1 }; |
| 6 | } |