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

Crystal Not operators do not need parens for stringification #15292

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

Blacksmoke16
Copy link
Member

Fixes #15286

@Blacksmoke16 Blacksmoke16 added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:lang:macros labels Dec 19, 2024
@straight-shoota straight-shoota added this to the 1.15.0 milestone Dec 19, 2024
@straight-shoota straight-shoota added kind:feature and removed kind:bug A bug in the code. Does not apply to documentation, specs, etc. labels Dec 19, 2024
@straight-shoota
Copy link
Member

I don't think this is necessarily a bug, more a matter of alternative style.

@straight-shoota straight-shoota merged commit b6b190f into crystal-lang:master Dec 20, 2024
69 checks passed
@straight-shoota straight-shoota changed the title Crystal Not operators do not need parens Crystal Not operators do not need parens for stringification Jan 8, 2025
@Blacksmoke16 Blacksmoke16 deleted the skip-paren-not branch January 9, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect ASTNode#to_s representation
3 participants