Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Bad error message for block pass through with return statement #272
It comes from https://github.com/jruby/jruby/blob/master/src/org/jruby/parser/Ruby19Parser.y#L483 I believe, which means
There are a couple of places where the MRI parser checks for this condition (https://github.com/ruby/ruby/blob/v1_9_3_448/parse.y#L9017-L9023) but our parser doesn't have it.