aboutsummaryrefslogtreecommitdiff
path: root/test/minmax.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-06 16:07:23 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-06 16:07:23 -0400
commit6782cc5570e194791ca6cdd695b88897e9145564 (patch)
treea428e9d954aca251212ec1cf15bd35e0badce630 /test/minmax.tm
parent448e805293989b06e07878a4a87fdd378f7c6e02 (diff)
No more colons for blocks
Diffstat (limited to 'test/minmax.tm')
-rw-r--r--test/minmax.tm6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/minmax.tm b/test/minmax.tm
index a0f0640f..8ffb401e 100644
--- a/test/minmax.tm
+++ b/test/minmax.tm
@@ -1,9 +1,9 @@
-struct Foo(x:Int, y:Int):
- func len(f:Foo->Num):
+struct Foo(x:Int, y:Int)
+ func len(f:Foo->Num)
return Num.sqrt(Num(f.x*f.x + f.y*f.y))!
-func main():
+func main()
>> 3 _min_ 5
= 3
>> 5 _min_ 3