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 / tm_bool_arith.osc
| 1 | // expect: TYPE_MISMATCH object=z line=4 |
| 2 | // bool in arithmetic. |
| 3 | fn f(b: bool) -> i32 { |
| 4 | let z: i32 = b + 1; |
| 5 | return z; |
| 6 | } |