Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Xiaodi Wu via swift-dev
On Fri, Oct 27, 2017 at 1:30 AM, Jonathan Hull wrote: > One completely different idea, which I brought up a year or so ago, is to > do what we do with pointers around this. That is you have your fast/unsafe > IEEE Floats/Doubles/etc that have a scarier name. These do not conform to > Equatable

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Jonathan Hull via swift-dev
One completely different idea, which I brought up a year or so ago, is to do what we do with pointers around this. That is you have your fast/unsafe IEEE Floats/Doubles/etc that have a scarier name. These do not conform to Equatable or Comparable, but have their own version of IEEE equality/co

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Xiaodi Wu via swift-dev
On Fri, Oct 27, 2017 at 1:09 AM, Jonathan Hull wrote: > > On Oct 26, 2017, at 8:16 PM, Xiaodi Wu wrote: > > On Thu, Oct 26, 2017 at 4:34 PM, Jonathan Hull wrote: > >> >> On Oct 26, 2017, at 11:47 AM, Xiaodi Wu wrote: >> >> On Thu, Oct 26, 2017 at 1:30 PM, Jonathan Hull wrote: >> >>> Now you a

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Jonathan Hull via swift-dev
> On Oct 26, 2017, at 8:16 PM, Xiaodi Wu wrote: > > On Thu, Oct 26, 2017 at 4:34 PM, Jonathan Hull > wrote: > >> On Oct 26, 2017, at 11:47 AM, Xiaodi Wu > > wrote: >> >> On Thu, Oct 26, 2017 at 1:30 PM, Jonathan Hull >

[swift-dev] "Near-miss" warnings for protocol conformances

2017-10-26 Thread Douglas Gregor via swift-dev
I have a pull request up to introduce “near-miss” warnings for protocol conformances: https://github.com/apple/swift/pull/12645 A “near-miss” warning fires when there is a protocol conformance for which: 1) One of the requirements is satisfied by a “default” definition (e.g., one from

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Xiaodi Wu via swift-dev
On Thu, Oct 26, 2017 at 4:57 PM, Greg Parker wrote: > > On Oct 26, 2017, at 11:47 AM, Xiaodi Wu via swift-dev > wrote: > > On Thu, Oct 26, 2017 at 1:30 PM, Jonathan Hull wrote: > >> Now you are just being rude. We all want Swift to be awesome… let’s try >> to keep things civil. >> > > Sorry if

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

2017-10-26 Thread Mishal Shah via swift-dev
:0: error: cannot open file '/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/swift-corelibs-libdispatch/dispatch/module.modulemap': No such file or directory /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/swift-corelibs-libdispatch/src/

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Xiaodi Wu via swift-dev
On Thu, Oct 26, 2017 at 4:34 PM, Jonathan Hull wrote: > > On Oct 26, 2017, at 11:47 AM, Xiaodi Wu wrote: > > On Thu, Oct 26, 2017 at 1:30 PM, Jonathan Hull wrote: > >> Now you are just being rude. We all want Swift to be awesome… let’s try >> to keep things civil. >> > > Sorry if my reply came

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

2017-10-26 Thread Xi Ge via swift-dev
Another instance of Swift CI: 0. OSS - Swift Incremental RA - Ubuntu 16.04 - Long Test (master) > On Oct 26, 2017, at 5:23 PM, no-re...@swift.org wrote: > > [FAILURE] oss-swift-4.1-incremental-RA-linux-ubuntu-16_04 [#58] > > Build URL: > https://ci.swift.org/job/oss-swift-4.1-incrementa

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread David Sweeris via swift-dev
> On Oct 26, 2017, at 3:16 PM, Matthew Johnson wrote: > >> >> On Oct 26, 2017, at 5:12 PM, David Sweeris via swift-dev >> mailto:swift-dev@swift.org>> wrote: >> >> >>> On Oct 26, 2017, at 2:57 PM, Greg Parker via swift-dev >> > wrote: >>> On Oct 26, 20

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Matthew Johnson via swift-dev
> On Oct 26, 2017, at 5:12 PM, David Sweeris via swift-dev > wrote: > > >> On Oct 26, 2017, at 2:57 PM, Greg Parker via swift-dev > > wrote: >> >>> >>> On Oct 26, 2017, at 11:47 AM, Xiaodi Wu via swift-dev >> > wrote: >>> >>> On Thu, O

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread David Sweeris via swift-dev
> On Oct 26, 2017, at 2:57 PM, Greg Parker via swift-dev > wrote: > >> >> On Oct 26, 2017, at 11:47 AM, Xiaodi Wu via swift-dev > > wrote: >> >> On Thu, Oct 26, 2017 at 1:30 PM, Jonathan Hull > > wrote: >> Now you are just being rude. We all

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Greg Parker via swift-dev
> On Oct 26, 2017, at 11:47 AM, Xiaodi Wu via swift-dev > wrote: > > On Thu, Oct 26, 2017 at 1:30 PM, Jonathan Hull > wrote: > Now you are just being rude. We all want Swift to be awesome… let’s try to > keep things civil. > > Sorry if my reply came across that way! Th

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Jonathan Hull via swift-dev
> On Oct 26, 2017, at 11:47 AM, Xiaodi Wu wrote: > > On Thu, Oct 26, 2017 at 1:30 PM, Jonathan Hull > wrote: > Now you are just being rude. We all want Swift to be awesome… let’s try to > keep things civil. > > Sorry if my reply came across that way! That wasn't at all

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Xiaodi Wu via swift-dev
On Thu, Oct 26, 2017 at 1:30 PM, Jonathan Hull wrote: > Now you are just being rude. We all want Swift to be awesome… let’s try to > keep things civil. > Sorry if my reply came across that way! That wasn't at all the intention. I really mean to ask you those questions and am interested in the an

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Jonathan Hull via swift-dev
Now you are just being rude. We all want Swift to be awesome… let’s try to keep things civil. You said it was impossible, so I gave you a very quick example showing that the current behavior was still possible. I wasn’t recommending that everyone should only ever use that example for all thing

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Xiaodi Wu via swift-dev
On Thu, Oct 26, 2017 at 11:50 AM, Jonathan Hull wrote: > > On Oct 26, 2017, at 9:40 AM, Xiaodi Wu wrote: > > On Thu, Oct 26, 2017 at 11:38 AM, Jonathan Hull wrote: > >> >> On Oct 26, 2017, at 9:34 AM, Xiaodi Wu wrote: >> >> On Thu, Oct 26, 2017 at 10:57 AM, Jonathan Hull wrote: >> >>> >>> On

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread David Sweeris via swift-dev
> On Oct 26, 2017, at 9:40 AM, Xiaodi Wu wrote: > > On Thu, Oct 26, 2017 at 11:38 AM, Jonathan Hull > wrote: > >> On Oct 26, 2017, at 9:34 AM, Xiaodi Wu > > wrote: >> >> On Thu, Oct 26, 2017 at 10:57 AM, Jonathan Hull >

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Jonathan Hull via swift-dev
> On Oct 26, 2017, at 9:40 AM, Xiaodi Wu wrote: > > On Thu, Oct 26, 2017 at 11:38 AM, Jonathan Hull > wrote: > >> On Oct 26, 2017, at 9:34 AM, Xiaodi Wu > > wrote: >> >> On Thu, Oct 26, 2017 at 10:57 AM, Jonathan Hull >

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Xiaodi Wu via swift-dev
On Thu, Oct 26, 2017 at 11:38 AM, Jonathan Hull wrote: > > On Oct 26, 2017, at 9:34 AM, Xiaodi Wu wrote: > > On Thu, Oct 26, 2017 at 10:57 AM, Jonathan Hull wrote: > >> >> On Oct 26, 2017, at 8:19 AM, Xiaodi Wu wrote: >> >> >> On Thu, Oct 26, 2017 at 07:52 Jonathan Hull wrote: >> >>> On Oct 2

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Jonathan Hull via swift-dev
> On Oct 26, 2017, at 9:34 AM, Xiaodi Wu wrote: > > On Thu, Oct 26, 2017 at 10:57 AM, Jonathan Hull > wrote: > >> On Oct 26, 2017, at 8:19 AM, Xiaodi Wu > > wrote: >> >> >> On Thu, Oct 26, 2017 at 07:52 Jonathan Hull >

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Xiaodi Wu via swift-dev
On Thu, Oct 26, 2017 at 10:57 AM, Jonathan Hull wrote: > > On Oct 26, 2017, at 8:19 AM, Xiaodi Wu wrote: > > > On Thu, Oct 26, 2017 at 07:52 Jonathan Hull wrote: > >> On Oct 25, 2017, at 11:22 PM, Xiaodi Wu wrote: >> >> On Wed, Oct 25, 2017 at 11:46 PM, Jonathan Hull wrote: >> >>> As someone

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Jonathan Hull via swift-dev
> On Oct 26, 2017, at 8:19 AM, Xiaodi Wu wrote: > > > On Thu, Oct 26, 2017 at 07:52 Jonathan Hull > wrote: >> On Oct 25, 2017, at 11:22 PM, Xiaodi Wu > > wrote: >> >> On Wed, Oct 25, 2017 at 11:46 PM, Jonathan Hull > >

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Xiaodi Wu via swift-dev
On Thu, Oct 26, 2017 at 07:52 Jonathan Hull wrote: > On Oct 25, 2017, at 11:22 PM, Xiaodi Wu wrote: > > On Wed, Oct 25, 2017 at 11:46 PM, Jonathan Hull wrote: > >> As someone mentioned earlier, we are trying to square a circle here. We >> can’t have everything at once… we will have to prioritiz

Re: [swift-dev] Rationalizing FloatingPoint conformance to Equatable

2017-10-26 Thread Jonathan Hull via swift-dev
> On Oct 25, 2017, at 11:22 PM, Xiaodi Wu wrote: > > On Wed, Oct 25, 2017 at 11:46 PM, Jonathan Hull > wrote: > As someone mentioned earlier, we are trying to square a circle here. We can’t > have everything at once… we will have to prioritize. I feel like the > preced

[swift-dev] Linker error while building Swift with latest Xcode beta on MacOS 10.12.6

2017-10-26 Thread Eric Scheers via swift-dev
Hello everyone, I’m trying to build the Swift project for the first time and I’m running into a linker error related to MetalKit. I’ve followed the instructions on the Swift Github but the process fails. I’ve run out things I can think of to try, I hope someone can point me in the right direction.