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

fix: no space around colons #103 #106

Merged
merged 3 commits into from
Feb 1, 2022

Conversation

tconbeer
Copy link
Owner

@tconbeer tconbeer commented Feb 1, 2022

Colons can be part of a namespaced identifier, so to be safe we should default to never surrounding them with whitespace.

In the future, we may want to detect when colons are slice operators and the operands are complex; for now, I am comfortable never surrounding colons with spaces.

@tconbeer tconbeer merged commit 530604e into main Feb 1, 2022
@tconbeer tconbeer deleted the bug/issue-103/fix-spaces-around-colons branch May 6, 2022 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant