Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

RuntimeError: no block_args19 #64

Closed
brynary opened this Issue · 2 comments

2 participants

Bryan Helmkamp Ryan Davis
Bryan Helmkamp

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]
Ryan Davis
Owner

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

Ryan Davis
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)))
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.