]> ocean-lang.org Git - ocean/commit
oceani: add simple return type
authorNeilBrown <neil@brown.name>
Fri, 12 Nov 2021 23:10:44 +0000 (10:10 +1100)
committerNeilBrown <neil@brown.name>
Sat, 13 Nov 2021 22:50:58 +0000 (09:50 +1100)
commitb24e0b84da4cdd01999f87f132119083b2761b50
tree4f240cc7c360f49098a77ad7497665c554799729
parentbc126aadf03e4e64710f2ad7d76d1247090219d5
oceani: add simple return type

This allow a simple typed value to be returned from a function using the
'use' statement.
It probably doesn't work for structs - don't try it.

Signed-off-by: NeilBrown <neil@brown.name>
csrc/oceani-tests.mdc
csrc/oceani.mdc