goby-lang / goby

Goby - Yet another programming language written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Array#*` with a string literal is not working

hachi8833 opened this issue · comments

// a * ',' # => "1,2,3"

I found that the current implementation does not support the syntax like [1, 2, 3] * ',' while this works in Ruby.

But I think that the syntax is redundant and #join should be used instead.

Shall I delete the line in the API document?

@hachi8833 yes please

Got it!
Now I'm updating the current API documents and would send the PR for that.