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

Revert "Parser: Fix restrict grammar for name and supertype in type def (#12622)" #12977

Merged

Conversation

straight-shoota
Copy link
Member

@straight-shoota straight-shoota commented Jan 18, 2023

Reverts a change that caused unintended breakage of existing code.

This syntax refinement is non-essential. Reverting it should have no negative side effects.

Resolves #12974

@straight-shoota straight-shoota added kind:bug topic:compiler:parser kind:regression Something that used to correctly work but no longer works labels Jan 18, 2023
@straight-shoota straight-shoota self-assigned this Jan 18, 2023
@straight-shoota straight-shoota added this to the 1.7.2 milestone Jan 18, 2023
@straight-shoota straight-shoota merged commit 29291fb into crystal-lang:release/1.7 Jan 19, 2023
@straight-shoota straight-shoota deleted the revert/12622 branch January 19, 2023 20:47
@bcardiff
Copy link
Member

Shouldn't we add a couple of parser specs to ensure the expected syntax works?

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug kind:regression Something that used to correctly work but no longer works topic:compiler:parser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression in 1.7.0: Parser rejects valid class def syntax with whitespace after class name
3 participants