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 / ambiguous_width.osc

6 lines · 158 bytes Raw Blame History
1// expect: AMBIGUOUS_WIDTH object=y line=4
2// a bare literal as the source of `as` has no width.
3fn f() -> i64 {
4 let y: i64 = 300 as i64;
5 return y;
6}