[Accepted] SE-0060: Enforcing order of defaulted parameters

(Chris Lattner) #1

Proposal link: https://github.com/apple/swift-evolution/blob/master/proposals/0060-defaulted-parameter-order.md

Hello Swift Community,

The review of SE-0060: "Enforcing order of defaulted parameters" ran from May 3…9, 2016. The proposal is *accepted* for Swift 3.

The feedback on the proposal was generally positive (several people remarked that they didn’t know this was allowed). Some people pointed out that removal of this capability penalizes API design in cases where there is no inherent order to parameters, but this is also true of non-defaulted parameters. The core team prefers to encourage consistency at call sites.

Thank you to Joe Groff for proposing this, I filed SR-1489 to track this, it is a great starter bug.

-Chris Lattner
Review Manager