General

Profile

Carpetsmoker (Martin Tournoij)

  • Login: Carpetsmoker
  • Email: martin@arp242.net
  • Registered on: 12/08/2014
  • Last sign in: 03/24/2016

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

03/24/2016

04:58 PM Ruby master Feature #12214: Inconsistent behaviour and lack of warnings/errors when referencing duplicated _variables
Oh, I forgot to add the third case:
def foo _, _=2
p _
end
foo 1, 3
gives `1` (and not `...
Carpetsmoker (Martin Tournoij)
04:48 PM Ruby master Feature #12214 (Open): Inconsistent behaviour and lack of warnings/errors when referencing duplicated _variables
_, _ = [1, 2]
p _
gives `2`
def foo _, _
p _
end
foo 1, 2
gives `1`
def foo _, _=2
p _
e...
Carpetsmoker (Martin Tournoij)

Also available in: Atom