Re: [swift-dev] Fixit for trailing closures

2016-07-05 Thread Xi Ge via swift-dev
> On Jul 5, 2016, at 8:31 PM, Jordan Rose wrote: > >> >> On Jul 5, 2016, at 17:19, Ben Langmuir via swift-dev > > wrote: >> >>> >>> On Jul 5, 2016, at 4:34 PM, Xi Ge via swift-dev >> > wrote: >>> >>> Hi Swift-devs, >>> I have tried to a

Re: [swift-dev] Fixit for trailing closures

2016-07-05 Thread Jordan Rose via swift-dev
> On Jul 5, 2016, at 17:19, Ben Langmuir via swift-dev > wrote: > >> >> On Jul 5, 2016, at 4:34 PM, Xi Ge via swift-dev > > wrote: >> >> Hi Swift-devs, >> I have tried to add a fixit to help developers using trailing closures more, >> motivated by my observation d

Re: [swift-dev] Fixit for trailing closures

2016-07-05 Thread Erica Sadun via swift-dev
> On Jul 5, 2016, at 7:42 PM, Xi Ge via swift-dev wrote: > >> >> On Jul 5, 2016, at 5:39 PM, Xi Ge via swift-dev > > wrote: >> >>> On Jul 5, 2016, at 5:19 PM, Ben Langmuir >> > wrote: >>> On Jul 5, 2016, at 4:34 PM, Xi Ge via

Re: [swift-dev] Fixit for trailing closures

2016-07-05 Thread Xi Ge via swift-dev
> On Jul 5, 2016, at 5:39 PM, Xi Ge via swift-dev wrote: > > > > > > >> On Jul 5, 2016, at 5:19 PM, Ben Langmuir > > wrote: >> >>> >>> On Jul 5, 2016, at 4:34 PM, Xi Ge via swift-dev >> > wrote: >>> >>> Hi Swift-devs, >>> I have tri

Re: [swift-dev] COFF indirect addressing and protocol conformance tables ABI issues

2016-07-05 Thread John McCall via swift-dev
> On Jul 5, 2016, at 5:56 PM, Saleem Abdulrasool wrote: > On Tue, Jul 5, 2016 at 10:30 AM, John McCall > wrote: > > On Jul 3, 2016, at 2:40 PM, Saleem Abdulrasool > > wrote: > > Hello again, > > > > I come bearing more problems :-). > > >

Re: [swift-dev] COFF indirect addressing and protocol conformance tables ABI issues

2016-07-05 Thread Saleem Abdulrasool via swift-dev
On Tue, Jul 5, 2016 at 10:30 AM, John McCall wrote: > > On Jul 3, 2016, at 2:40 PM, Saleem Abdulrasool > wrote: > > Hello again, > > > > I come bearing more problems :-). > > > > I seem to have found another point in the ABI which prevents an easy > port of swift to Windows without an emulation

Re: [swift-dev] Fixit for trailing closures

2016-07-05 Thread Xi Ge via swift-dev
> On Jul 5, 2016, at 5:19 PM, Ben Langmuir wrote: > >> >> On Jul 5, 2016, at 4:34 PM, Xi Ge via swift-dev > > wrote: >> >> Hi Swift-devs, >> I have tried to add a fixit to help developers using trailing closures more, >> motivated by my observation during WWDC

Re: [swift-dev] Fixit for trailing closures

2016-07-05 Thread Ben Langmuir via swift-dev
> On Jul 5, 2016, at 4:34 PM, Xi Ge via swift-dev wrote: > > Hi Swift-devs, > I have tried to add a fixit to help developers using trailing closures more, > motivated by my observation during WWDC that some developers > do not even realize that we have such a feature. In my opinion, trailing

[swift-dev] Fixit for trailing closures

2016-07-05 Thread Xi Ge via swift-dev
Hi Swift-devs, I have tried to add a fixit to help developers using trailing closures more, motivated by my observation during WWDC that some developers do not even realize that we have such a feature. In my opinion, trailing closures are more concise, and once you get used to it, more readable;

[swift-dev] CI outage for SDK and source updates, and branching for Preview 3

2016-07-05 Thread Nicole Jacque via swift-dev
Hello All- Tomorrow we will be bringing down the CI temporarily starting around 10 AM, California time, to upgrade to the latest beta of Xcode 8 and the associated SDKs. We will also be landing some source changes required for the SDK update for Swift 3. We expect the upgrade process to take

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - OS X (master) #4996

2016-07-05 Thread Philippe Hausler via swift-dev
This is likely from my commit, I will have fixes pushed in a bit. Sent from my iPhone > On Jul 5, 2016, at 11:38 AM, no-re...@swift.org wrote: > > [FAILURE] oss-swift-incremental-RA-osx [#4996] > > Build URL:https://ci.swift.org/job/oss-swift-incremental-RA-osx/4996/ > Project: oss-swi

Re: [swift-dev] SE-0095: SIL syntax and Any.self problem

2016-07-05 Thread Joe Groff via swift-dev
> On Jul 4, 2016, at 9:29 AM, Josef Willsher via swift-dev > wrote: > > Hi everyone, > > I’ve been implementing SE-0095 (here) and have hit an issue around how > Any.self is treated. > > When in the type position, I parse Any like any other type, and resolve it to > be an empty protocol com

Re: [swift-dev] [Swift CI] Build Still Failing: 0. OSS - Swift Incremental RA - Ubuntu 15.10 (master) #6203

2016-07-05 Thread Ben Langmuir via swift-dev
This failure is not related to my revert (although if it broke in the last hour or so could have been hidden because we failed before we got to the Foundation tests). Philippe, any idea what this is? TestFoundation/TestNSTimer.swift:62: error: TestNSTimer.test_timerRepeats : XCTAssertEqualWith

Re: [swift-dev] COFF indirect addressing and protocol conformance tables ABI issues

2016-07-05 Thread John McCall via swift-dev
> On Jul 3, 2016, at 2:40 PM, Saleem Abdulrasool wrote: > Hello again, > > I come bearing more problems :-). > > I seem to have found another point in the ABI which prevents an easy port of > swift to Windows without an emulation layer underneath. This time it deals > with the protocol confor

Re: [swift-dev] Unmanaged API flip flop

2016-07-05 Thread Jordan Rose via swift-dev
> On Jul 4, 2016, at 13:32, Kyle Jessup via swift-dev > wrote: > > I have this code which uses Unmanaged and the API seems to vary depending on > if I am using a 3.0 Preview or a development snapshot. I see it now when > trying the June 13th/27th preview vs June 20th snapshot. > > class MyCl