Skip to content

Add a check to enforce space after cast(..) expressions#5175

Merged
andralex merged 3 commits intodlang:masterfrom
wilzbach:style-cast-space
Feb 22, 2017
Merged

Add a check to enforce space after cast(..) expressions#5175
andralex merged 3 commits intodlang:masterfrom
wilzbach:style-cast-space

Conversation

@wilzbach
Copy link
Contributor

Adds a check and unification for a space after a cast expression:

cast(int) foo

CC @andralex

(there are some edge cases that this check doesn't find, but this can be fixed by a soon-to-arrive Dscanner plugin).

@wilzbach wilzbach changed the title Add a check to enforce space after cast(..) Add a check to enforce space after cast(..) expressions Feb 21, 2017
Copy link
Member

@andralex andralex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@andralex andralex merged commit 027ae18 into dlang:master Feb 22, 2017
@wilzbach wilzbach deleted the style-cast-space branch December 11, 2017 02:14
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.

2 participants