New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zsuper does not cope with n repeated _ well #4342

Closed
enebo opened this Issue Nov 28, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@enebo
Member

enebo commented Nov 28, 2016

Given this script:

class A
  def foo(a, b, c)
    p a, b, c
  end
end

class B < A
  def foo(_, _, _)
    super
  end
end

B.new.foo(1, 2, 3)

we should print 1,2,3 but pre-fixed #4341 we would throw a 1 for 3 arity error and now we print out 3, 3, 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment