mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +01:00
Make join() require parentheses without a separator.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
var a = 1..3
|
||||
|
||||
System.print(a.join) // expect: 123
|
||||
System.print(a.join()) // expect: 123
|
||||
System.print(a.join(", ")) // expect: 1, 2, 3
|
||||
|
||||
Reference in New Issue
Block a user