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 / slice_value_to_scalar_param.osc
| 1 | // expect: SLICE_VALUE object=b line=7 |
| 2 | // transition: slice used as a value |
| 3 | fn g(n: u64) -> u64 { |
| 4 | return n; |
| 5 | } |
| 6 | fn f(b: bytes) -> u64 { |
| 7 | return g(b); |
| 8 | } |