[swift-dev] Anonymous closure arguments vs varargs

2017-01-04 Thread Slava Pestov via swift-dev
Hi all, In Swift 3.0, the following examples both typecheck: let fn1: ([Int]) -> () = { let _: [Int] = $0 } let fn2: (Int...) -> () = { let _: [Int] = $0 } This stopped working due to a regression in master so I'm looking at fixing it. While investigating this, I noticed that this variant

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.10 (master) #1146

2017-01-04 Thread mishal_shah via swift-dev
Thanks! > On Jan 3, 2017, at 11:38 PM, Ankit Aggarwal wrote: > > Made the test more deterministic: > https://github.com/apple/swift-package-manager/commit/b17929299accf4c40199dced7b9d977400190718 > >

Re: [swift-dev] [Swift CI] Build Failure: OSS - Swift Package - Ubuntu 16.04 (master) #288

2017-01-04 Thread Jordan Rose via swift-dev
That’s a failed cast<> or dyn_cast<>, so we’d hopefully just need to run the test case normally. > On Jan 3, 2017, at 23:06, Slava Pestov via swift-dev > wrote: > > A quick scan through the list of merged patches suggests this might not be > related to any of these — does anyone have any idea

Re: [swift-dev] [Swift CI] Build Failure: OSS - Swift Package - Ubuntu 16.10 (swift 3.1) #209

2017-01-04 Thread Ankit Aggarwal via swift-dev
Disabled this assertion pending investigation. https://bugs.swift.org/browse/SR-3538 https://github.com/apple/swift-package-manager/commit/be123c00e8e12038044ec53730a2e60bbd1d4c98 > On 04-Jan-2017,

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 (master) #1178

2017-01-04 Thread Ankit Aggarwal via swift-dev
This should fix it, I hope: https://github.com/apple/swift-package-manager/commit/c86035fb136f5a2e4ba2facb519932830d4e0026 > On 04-Jan-2017, at 3:22 PM, Slava Pestov via swift-dev > wrote: > > No

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 (master) #1178

2017-01-04 Thread Slava Pestov via swift-dev
Non-determinism in swiftpm test, unrelated to my changes: /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/swiftpm/Tests/CommandsTests/PackageToolTests.swift:195: error: PackageToolTests.testPackageEditAndUnedit : XCTAssertEqual failed: ("5 ") is not equal to ("88 “)