Coco f10291f: parens can now take a sequence of expressions: a = (b; c)

This commit is contained in:
Jeremy Ashkenas
2010-11-20 20:22:05 -05:00
parent 93cf3bd922
commit 2f498162b0
6 changed files with 20 additions and 15 deletions

View File

@@ -56,3 +56,8 @@ obj =
eq obj.num, obj.func()
eq obj.num, obj.result
# Multiple semicolon-separated statements in parentheticals.
eq 3, (1; 2; 3)
eq 3, (-> return (1; 2; 3))()