-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Although NEP1 suggests not having spaces around these infix operators, this creates an exception to the normal infix spacing rules. In spite of this recommendation, lots of code out there maintains spaces around the operators which makes decision based on "existing practice" hard. Adding to the complexity is in order to not break the AST, the code must take care to remove the spaces only in cases where the infix is not followed by another operator - this means that we _sometimes_ will put spaces around these infixes and sometimes not, again leading to irregularity. Since there's no consensus in existing code, the rule is irregular and causes implementation complexity, this PR removes the exception and formats `..` and `..<` with spaces.
- Loading branch information
1 parent
3dc181b
commit 6065e70
Showing
13 changed files
with
181 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.