This website requires JavaScript.
Explore
Help
Register
Sign In
retoor
/
wren
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
a70a23e03d08beae44f668aa836017eaca51afb1
wren
/
test
/
list
/
reduce_wrong_arity.wren
T
2 lines
90 B
Plaintext
Raw
Normal View
History
Unescape
Escape
feat: add reduce method to Sequence with two overloads and tests
2015-01-15 15:29:49 +00:00
[1, 2, 3].reduce {|x, y, z| x } // expect runtime error: Function expects more arguments.
Reference in New Issue
Copy Permalink