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 / undefined_in_clause.osc
| 1 | // expect: UNDEFINED_NAME object=y line=3 |
| 2 | // clauses see only the parameters (and result in ensures) |
| 3 | fn f(x: u8) -> u8 requires x > y { |
| 4 | let y: u8 = 1; |
| 5 | return x + y; |
| 6 | } |