[swift-evolution] Revisiting SE-0110

Víctor Pimentel vpimentel at tuenti.com
Thu Jun 15 19:12:02 CDT 2017


> On 15 Jun 2017, at 06:01, Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
>> On Jun 12, 2017, at 10:07 PM, Paul Cantrell <cantrell at pobox.com> wrote:
>> 
>> What’s the status of this Chris’s double parens idea below? It garnered some positive responses, but the discussion seems to have fizzled out. Is there something needed to help nudge this along?
>> 
>> What’s the likelihood of getting this fixed before Swift 4 goes live, and the great wave of readability regressions hits?
> 
> We discussed this in the core team meeting today.  Consensus seems to be that a change needs to be made to regain syntactic convenience here.  Discussion was leaning towards allowing (at least) the parenthesized form, but more discussion is needed.
> 
> 
> One (tangential) thing that came up is that tuple element names in tuple *patterns* should probably be deprecated and removed at some point.  Without looking, what variables does this declare?:
> 
>    let (a : Int, b : Float) = foo()
> 
> ?

Sorry, but I'm utterly confused: the output from the Core Team meeting about regressions caused by restrictions imposed in SE-0110 is that... the compiler should add more restrictions??

--
Víctor Pimentel


More information about the swift-evolution mailing list