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

superclass production in parser became less restrictive in 2.3 #3639

Closed
enebo opened this Issue Feb 3, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@enebo
Member

enebo commented Feb 3, 2016

This will work in 2.3 now:

class Foo 1; end

In past versions of Ruby this required a newline or a terminator (;).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment