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_call_scalar_for_slice.osc
| 1 | // expect: TYPE_MISMATCH object=return line=7 |
| 2 | // transition: type mismatch |
| 3 | fn g(b: bytes) -> u64 { |
| 4 | return b.len; |
| 5 | } |
| 6 | fn f() -> u64 { |
| 7 | return g(3); |
| 8 | } |