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 / read_only_borrow_write.osc
| 1 | // expect: READ_ONLY_BORROW object=a line=4 |
| 2 | // transition: write through shared borrow |
| 3 | fn f(a: &[i64; 4]) { |
| 4 | a[0] = 1; |
| 5 | } |