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_write_through_shared.osc
| 1 | // expect: READ_ONLY_BORROW object=p line=5 |
| 2 | // transition: write through shared borrow |
| 3 | struct P { x: i32, y: i32 } |
| 4 | fn f(p: &P) { |
| 5 | p.x = 1; |
| 6 | } |