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 / ar_use_after_block.osc
| 1 | // expect: UNDEFINED_NAME object=a line=7 |
| 2 | // transition: allocate in undefined arena |
| 3 | fn f() -> u32 { |
| 4 | arena a bound 4 { |
| 5 | let x: own [u32; 2] in a = alloc(2); |
| 6 | } |
| 7 | let y: own [u32; 2] in a = alloc(1); |
| 8 | return y[0]; |
| 9 | } |