|
|
|
|
|
by ezrast
727 days ago
|
|
It's not really a problem in practice (and I love Ruby), but it's still wild to me that they made the parser do this: $ irb
irb(main):001:0> def foo(x=70) = x
=> :foo
irb(main):002:0> i = 2
=> 2
irb(main):003:0> foo / 5/i
=> 7
irb(main):004:0> foo /5/i
=> /5/i
|
|