[swift-evolution] [Returned for revision] SE-0077: Improved operator declarations

Anton Zhilin antonyzhilin at gmail.com
Tue Jun 28 14:31:48 CDT 2016


I did not change 'precedencegroup', but still strongly vote for 
'precedence', despite counter-arguments.

But there is a problem besides bikeshedding that we need to solve. We have 
the following groups:

Assignment
Ternary
Default
LogicalOr
LogicalAnd
Comparative
NilCoalescing
Cast
Range
Additive
Multiplicative
BitwiseShift

How should we rename them to avoid conflicts?
Simply add -Precedence to everything?
Drop -Precedence for Additive, Multiplicative and Comparative?



More information about the swift-evolution mailing list