aboutsummaryrefslogtreecommitdiff
path: root/test/reductions.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/reductions.tm')
-rw-r--r--test/reductions.tm4
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:")