android/kotlin-guides

Add explicit exception for spaces around range operator

Closed this issue · 0 comments

yole commented

The style guide says that spaces are required "On both sides of any binary operator.", and does not give an exception for the .. operator. However, various examples do show that you prefer .. to be used without spaces around it. The exception should be noted explicitly.