interplane.Get Omega
Read in your language

aienos.com

Source of www.aienos.com, served from my own hardware

Brought by drakestapleton

branch main Branches Tags History

aienos.com / om / omega-reference / vendor / examples / err18_missing_ret.om

9 lines · 146 bytes Raw Blame History
1note err18_missing_ret: a function with a result type whose end is reachable
2fn f x int to int
3if gt x 0
4ret 1
5end
6end
7fn main to int
8ret f 1
9end