diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 14:20:18 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 14:20:18 -0400 |
| commit | 2bb2ff871fa1761478442bec5f6a32c9428360a1 (patch) | |
| tree | 9b73df7a0c50c02353ae7bca7c2cd54788ef0077 /test/reductions.tm | |
| parent | 59845e610f2c90474f34079d27b5f1e07071ded4 (diff) | |
Change method calls to use `foo.baz()` instead of `foo:baz()`
Diffstat (limited to 'test/reductions.tm')
| -rw-r--r-- | test/reductions.tm | 4 |
1 files changed, 2 insertions, 2 deletions
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:") |
