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 / ambiguous_width.osc
| 1 | // expect: AMBIGUOUS_WIDTH object=y line=4 |
| 2 | // a bare literal as the source of `as` has no width. |
| 3 | fn f() -> i64 { |
| 4 | let y: i64 = 300 as i64; |
| 5 | return y; |
| 6 | } |