Re: [swift-evolution] SE-1084 (B): buffer pointer partial initialization API

2017-10-10 Thread Kelvin Ma via swift-evolution
On Tue, Oct 10, 2017 at 1:00 AM, Xiaodi Wu wrote: > On Mon, Oct 9, 2017 at 19:47 Kelvin Ma via swift-evolution < > swift-evolution@swift.org> wrote: > >> Hi guys, after passing SE 184 (A) >> , >> I

Re: [swift-evolution] Property Getter Return Statement

2017-10-10 Thread Slava Pestov via swift-evolution
> On Oct 10, 2017, at 1:00 PM, Slava Pestov wrote: > >> >> On Oct 9, 2017, at 10:54 AM, Jordan Rose wrote: >> >> >> >>> On Oct 8, 2017, at 21:56, Slava Pestov via swift-evolution >>> wrote: >>> >>> >>> On Oct 7, 2017, at 7:07 AM, James Valaitis via swift-evolution wrote: >>

Re: [swift-evolution] Property Getter Return Statement

2017-10-10 Thread Slava Pestov via swift-evolution
> On Oct 9, 2017, at 10:54 AM, Jordan Rose wrote: > > > >> On Oct 8, 2017, at 21:56, Slava Pestov via swift-evolution >> wrote: >> >> >> >>> On Oct 7, 2017, at 7:07 AM, James Valaitis via swift-evolution >>> wrote: >>> >>> Is it widely agreed that it is necessary to require a return st

Re: [swift-evolution] /*Let it be*/ func() -> @discardable Bool {} /*Rather Than*/ @discardableResult func() -> Bool {}

2017-10-10 Thread Mike Kluev via swift-evolution
On 10 October 2017 at 07:02, Xiaodi Wu wrote: > This idea was discussed long ago and the present design was selected. At > this point in Swift Evolution, source-breaking changes are in scope only if > the status quo is demonstrably harmful. changes like discussed are not necessarily source-brea

Re: [swift-evolution] Fix "private extension" (was "Public Access Modifier Respected in Type Definition")

2017-10-10 Thread Jose Cheyo Jimenez via swift-evolution
> On Oct 10, 2017, at 8:24 AM, Vladimir.S wrote: > > On 09.10.2017 20:36, Jose Cheyo Jimenez wrote: >>> On Oct 9, 2017, at 9:17 AM, Vladimir.S via swift-evolution >>> mailto:swift-evolution@swift.org>> wrote: >>> >>> On 07.10.2017 20:17, Nevin Brackett-Rozinsky via swift-evolution wrote:

Re: [swift-evolution] /*Let it be*/ func() -> @discardable Bool {} /*Rather Than*/ @discardableResult func() -> Bool {}

2017-10-10 Thread Tino Heth via swift-evolution
I don’t remember all the details, but this has been discussed when results became „non-discardable“ by default, and afair it was even proposed as a possible future improvement to make the change less ugly for those who were fine with the original behavior. As for the line-length, I don’t buy th

Re: [swift-evolution] Fix "private extension" (was "Public Access Modifier Respected in Type Definition")

2017-10-10 Thread Vladimir.S via swift-evolution
On 09.10.2017 20:36, Jose Cheyo Jimenez wrote: On Oct 9, 2017, at 9:17 AM, Vladimir.S via swift-evolution > wrote: On 07.10.2017 20:17, Nevin Brackett-Rozinsky via swift-evolution wrote: Two weeks ago I had a fairly strong opinion about “private extension” beh