Closed stutrek closed 8 years ago
The previous implementation of SwitchCaseColon only worked when the endToken of the node was ':', which is not always true.
This PR makes it look for the next ':' after the case node and applies the whitespace rules to it.
thanks a lot for the PR! rebased and landed.
The previous implementation of SwitchCaseColon only worked when the endToken of the node was ':', which is not always true.
This PR makes it look for the next ':' after the case node and applies the whitespace rules to it.