[swift-dev] Descriptive Protocol non-conformance errors

2016-06-26 Thread Sean Alling via swift-dev
Hi everyone, I’m suggesting a change to the compiler that returns an error when an object 'does not conform to protocol’ to nest sub-errors that’ll list what properties and methods the object hasn’t implemented. I’m using the idea of a nested error so that the exceptions thrown will be grouped

[swift-dev] Foundation Thread exhaustion on Linux

2016-06-26 Thread Joseph Bell via swift-dev
Howdy, I've opened https://bugs.swift.org/browse/SR-1908 against Thread (NSThread) in Foundation. I noticed several weeks ago while working with it on a Raspberry Pi 3 that Thread.start() eventually doesn't actually start a thread. This was found a lot faster on the Pi 3 than on a largish x86 se

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

2016-06-26 Thread Anders Bertelrud via swift-dev
Fixed. > On 2016-06-26, at 13.34, Anders Bertelrud wrote: > > Investigating. > > Anders > >> On 2016-06-26, at 13.30, no-re...@swift.org >> wrote: >> >> [FAILURE] oss-swift-incremental-RA-linux-ubuntu-15_10 [#5984] >> >> Build URL: >> https://ci.swift.org/job/

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

2016-06-26 Thread Anders Bertelrud via swift-dev
Investigating. Anders > On 2016-06-26, at 13.30, no-re...@swift.org wrote: > > [FAILURE] oss-swift-incremental-RA-linux-ubuntu-15_10 [#5984] > > Build URL: > https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-15_10/5984/ >

Re: [swift-dev] Set of "no less than one" member enforced by the compiler

2016-06-26 Thread Brent Royal-Gordon via swift-dev
> Half-digression into relational theory aside, I can’t figure a way to make > the compiler enforce this. An enum is "exactly one", a Set is "zero or more", > a structure or class is "this group", an Optional is "zero or one". You can write an enum that's "one or more": enum OneOrMore {