diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 16:07:23 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 16:07:23 -0400 |
| commit | 6782cc5570e194791ca6cdd695b88897e9145564 (patch) | |
| tree | a428e9d954aca251212ec1cf15bd35e0badce630 /test/functions.tm | |
| parent | 448e805293989b06e07878a4a87fdd378f7c6e02 (diff) | |
No more colons for blocks
Diffstat (limited to 'test/functions.tm')
| -rw-r--r-- | test/functions.tm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functions.tm b/test/functions.tm index 22d950d4..17ca1e85 100644 --- a/test/functions.tm +++ b/test/functions.tm @@ -1,10 +1,10 @@ -func add(x:Int, y:Int -> Int): +func add(x:Int, y:Int -> Int) return x + y -func cached_heap(x:Int->@Int; cached): +func cached_heap(x:Int->@Int; cached) return @x -func main(): +func main() >> add(3, 5) = 8 |
