Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienos.com/blob/main/om/omega-reference/vendor/examples/contract_ensures.om # aienos.com Source of www.aienos.com, served from my own hardware Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienos.com / om / omega-reference / vendor / examples / contract_ensures.om` 13 lines ยท 265 bytes Raw Blame History 1 note contract_ensures: a false postcondition traps 10, exit 110; the bug here is the + 2 2 om2 3 text before "before\n" 4 fn inc x uint to uint 5 requires lt x 100 6 ensures eq result add x 1 7 ret add x 2 8 end 9 fn main to int 10 k = write 1 before 0 len before 11 h = inc 5 12 ret 0 13 end