aboutsummaryrefslogtreecommitdiff
path: root/test/arrays.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-05-23 13:09:59 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-05-23 13:09:59 -0400
commitbf3cdc3dfa4dcd0d17f182fe875d718cb4a4272f (patch)
tree8b1c2c9088576fc25d753f7ec106baf54ca18ede /test/arrays.tm
parente7beacb460803556485794aba6b36af1472ff706 (diff)
Refine the parsing of blocks so it's always ':' [inline-block] [indent indented-block]
Diffstat (limited to 'test/arrays.tm')
-rw-r--r--test/arrays.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/arrays.tm b/test/arrays.tm
index de1771b7..95b4fe38 100644
--- a/test/arrays.tm
+++ b/test/arrays.tm
@@ -87,10 +87,10 @@ func main():
>> nums
= [-20, 10, 30]
// Custom sort functions:
- >> nums:sort(func(x:&%Int,y:&%Int) x:abs() <> y:abs())
+ >> nums:sort(func(x:&%Int,y:&%Int): x:abs() <> y:abs())
>> nums
= [10, -20, 30]
- >> nums:sort(func(x:&%Int,y:&%Int) y[] <> x[])
+ >> nums:sort(func(x:&%Int,y:&%Int): y[] <> x[])
>> nums
= [30, 10, -20]