Skip to content
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

SyntaxError: test.rb:3: syntax error, unexpected kDO_BLOCK #3039

Closed
mattparlane opened this issue Jun 11, 2015 · 1 comment
Closed

SyntaxError: test.rb:3: syntax error, unexpected kDO_BLOCK #3039

mattparlane opened this issue Jun 11, 2015 · 1 comment

Comments

@mattparlane
Copy link

This gives the above error:

class C
  private def f
    [].each do |i|
    end
  end
end

jruby 9.0.0.0.rc1 (2.2.2) 2015-06-10 a0bf3b3 OpenJDK 64-Bit Server VM 25.45-b02 on 1.8.0_45-internal-b14 +jit [linux-amd64]

@enebo enebo added this to the JRuby 9.0.0.0.rc2 milestone Jun 12, 2015
@enebo
Copy link
Member

enebo commented Jun 12, 2015

I am going to treat this as a 9000-only issue and may go back and fix 1.9 parser later on jruby-1_7 but github issues does not handle multi-milestone issues (plus jruby-1_7 lexer is much different than 9k by this point).

@enebo enebo closed this as completed in a57eba4 Jun 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants