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

Comments

Projects
None yet
2 participants
@mattparlane
Copy link

mattparlane commented Jun 11, 2015

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 the JRuby 9000 label Jun 12, 2015

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

@enebo

This comment has been minimized.

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 in a57eba4 Jun 12, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.