From 2bb2ff871fa1761478442bec5f6a32c9428360a1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 6 Apr 2025 14:20:18 -0400 Subject: Change method calls to use `foo.baz()` instead of `foo:baz()` --- test/reductions.tm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/reductions.tm') diff --git a/test/reductions.tm b/test/reductions.tm index f2fa4b9c..bd74f306 100644 --- a/test/reductions.tm +++ b/test/reductions.tm @@ -17,14 +17,14 @@ func main(): >> (_max_: [3, 5, 2, 1, 4]) = 5? - >> (_max_:abs(): [1, -10, 5]) + >> (_max_.abs(): [1, -10, 5]) = -10? >> (_max_: [Foo(0, 0), Foo(1, 0), Foo(0, 10)])! = Foo(x=1, y=0) >> (_max_.y: [Foo(0, 0), Foo(1, 0), Foo(0, 10)])! = Foo(x=0, y=10) - >> (_max_.y:abs(): [Foo(0, 0), Foo(1, 0), Foo(0, 10), Foo(0, -999)])! + >> (_max_.y.abs(): [Foo(0, 0), Foo(1, 0), Foo(0, 10), Foo(0, -999)])! = Foo(x=0, y=-999) say("(or) and (and) have early out behavior:") -- cgit v1.2.3