interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / tests / compiler / neg / slice_value_to_scalar_param.osc

8 lines · 157 bytes Raw Blame History
1// expect: SLICE_VALUE object=b line=7
2// transition: slice used as a value
3fn g(n: u64) -> u64 {
4 return n;
5}
6fn f(b: bytes) -> u64 {
7 return g(b);
8}