R
Roger Pack
irb(main):006:0> {}.merge {:a => 3}
SyntaxError: compile error
(irb):6: syntax error, unexpected tASSOC, expecting '}'
{}.merge {:a => 3}
???
{}.merge({:a => 3}) works, though. Is this a grammar problem?
SyntaxError: compile error
(irb):6: syntax error, unexpected tASSOC, expecting '}'
{}.merge {:a => 3}
???
{}.merge({:a => 3}) works, though. Is this a grammar problem?