Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

RuntimeError: no block_args19 #64

Closed
brynary opened this Issue · 2 comments

2 participants

@brynary

This looks like it may be a known issue, but I didn't see a GitHub issue tracking it...

>> Ruby19Parser.new.parse("lambda {|x,y=false| puts x}")
RuntimeError: no block_args19 3 [s(:args, :x), ",", s(:lasgn, :y, s(:false)), nil]
@zenspider zenspider was assigned
@zenspider
Owner

yeah. I have a commented out failing test that I'm building up the nerve to deal with. :P

@zenspider
Owner

This should all be handled with my latest commits.

>> Ruby19Parser.new.parse("lambda {|x,y=false| puts x}")
=> s(:iter, s(:call, nil, :lambda), s(:args, :x, s(:lasgn, :y, s(:false))), s(:call, nil, :puts, s(:lvar, :x)))
@zenspider zenspider closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.