[swift-dev] "For" loop iterator and "enum"

2017-10-24 Thread Sam Ding via swift-dev
Hi, It is found that "for" loop iterate and "enum" does not work on s390x. Here is a sample code: enum IntKey : Int { case a = 3 case b = 4 // Implicitly 4 case c = 1 } for ( a1, a2) in [(IntKey.a, 1)] { print ("+ test \n") } T

[swift-dev] Failed to launch REPL process

2017-10-24 Thread Ron Olson via swift-dev
Hi all- I am able to build Swift 4 on Fedora 26 Linux (https://github.com/tachoknight/swift-rpm) and while it can compile and run Swift code just fine, the REPL does not start because of: error: failed to launch REPL process: process launch failed: 'A' packet returned an error: -1 I've bee

Re: [swift-dev] Failed to launch REPL process

2017-10-24 Thread Alex Blewitt via swift-dev
> On 24 Oct 2017, at 17:00, Ron Olson via swift-dev wrote: > > Hi all- > > I am able to build Swift 4 on Fedora 26 Linux > (https://github.com/tachoknight/swift-rpm) and while it can compile and run > Swift code just fine, the REPL does not start because of: > > error: failed to launch REPL p

Re: [swift-dev] Failed to launch REPL process

2017-10-24 Thread Ron Olson via swift-dev
Hi Alex- Thanks for the info, but this isn't in a Docker container, just a regular Linux VM. As an additional bit of info, I ran the build script on my Fedora laptop, and it works just fine; the REPL starts right up. I'd be surprised and confused if this was truly a VM (in this case, VMware

Re: [swift-dev] Failed to launch REPL process

2017-10-24 Thread Alex Blewitt via swift-dev
> On 24 Oct 2017, at 18:19, Ron Olson wrote: > > Hi Alex- > > Thanks for the info, but this isn't in a Docker container, just a regular > Linux VM. Ah, sorry - my bad. I saw Docker in the message with the problem and didn't see the 'not' ;-) > As an additional bit of info, I ran the build sc

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

2017-10-24 Thread Ben Cohen via swift-dev
> On Oct 19, 2017, at 4:29 PM, Xiaodi Wu via swift-dev > wrote: > > Differing behavior in generic and concrete contexts is simply too subtle to > be understandable to the reader. Hardly more subtle then the current “Equatable works like this, with these strong gua

Re: [swift-dev] Looking for documentation/insight on .swiftdoc

2017-10-24 Thread Douglas Gregor via swift-dev
> On Oct 23, 2017, at 11:27 AM, George King via swift-dev > wrote: > > Hello, I’m curious about the swiftdoc format. I’ve looked through the swift > codebase and have been unable to find either documentation about it or the > relevant source code. Could somebody point me in the right directi

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

2017-10-24 Thread David Zarzycki via swift-dev
> On Oct 24, 2017, at 14:55, Ben Cohen via swift-dev > wrote: > > There really is no way to square this circle. Every option is going to have > downsides. We have to balance correctness, least surprise/most expected > behavior for most people, and consistency. For me, making generic use of

Re: [swift-dev] Looking for documentation/insight on .swiftdoc

2017-10-24 Thread Robert Widmann via swift-dev
Or libSyntax! ~Robert Widmann > On Oct 24, 2017, at 4:06 PM, Douglas Gregor via swift-dev > wrote: > > > >> On Oct 23, 2017, at 11:27 AM, George King via swift-dev >> wrote: >> >> Hello, I’m curious about the swiftdoc format. I’ve looked through the swift >> codebase and have been unable

Re: [swift-dev] Looking for documentation/insight on .swiftdoc

2017-10-24 Thread Douglas Gregor via swift-dev
> On Oct 24, 2017, at 3:05 PM, Robert Widmann wrote: > > Or libSyntax! If it doesn’t do comments yet… it certainly should! - Doug > > ~Robert Widmann > >> On Oct 24, 2017, at 4:06 PM, Douglas Gregor via swift-dev >> wrote: >> >> >> >>> On Oct 23, 2017, at 11:27 AM, George King

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

2017-10-24 Thread Xi Ge via swift-dev
Filed Swift CI: 0. OSS - Swift Incremental RA - Ubuntu 16.04 - Long Test (master) :0: error: module map file '/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/dispatch/module.modulemap' not found <>:0: error: module map file '

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

2017-10-24 Thread Slava Pestov via swift-dev
> On Oct 24, 2017, at 4:26 PM, Xi Ge via swift-dev wrote: > > This could be due to one of the following commit. Could someone shed some > lights on what’s going on? > Git (git g...@github.com :apple/swift.git) > > [ClangImporter] Don't add duplicate search paths (detail

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

2017-10-24 Thread Jordan Rose via swift-dev
> On Oct 24, 2017, at 16:30, Slava Pestov via swift-dev > wrote: > > >> On Oct 24, 2017, at 4:26 PM, Xi Ge via swift-dev > > wrote: >> >> This could be due to one of the following commit. Could someone shed some >> lights on what’s going on? >> Git (git g...@gith

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

2017-10-24 Thread Ankit Aggarwal via swift-dev
Mishal, can you trigger this again? > On 24-Oct-2017, at 4:42 PM, no-re...@swift.org wrote: > > [FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_04 [#1186] > > Build URL: > https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_04/1186/ >

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

2017-10-24 Thread Mishal Shah via swift-dev
New build started: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_04/1187/console Thanks, Mishal Shah > On Oct 24, 2017, at 4:49 PM, Ankit Aggarwal wrote: > > Mishal, can you trigger this again? > >> On 24-Oct-2017, at 4:42 PM, no-re...@swift.org

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

2017-10-24 Thread Xiaodi Wu via swift-dev
On Tue, Oct 24, 2017 at 1:55 PM, Ben Cohen wrote: > > > On Oct 19, 2017, at 4:29 PM, Xiaodi Wu via swift-dev > wrote: > > Differing behavior in generic and concrete contexts is simply too subtle > to be understandable to the reader. > > > Hardly more subtle then the current “Equatable works like

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

2017-10-24 Thread Xiaodi Wu via swift-dev
On Tue, Oct 24, 2017 at 4:28 PM, David Zarzycki wrote: > > > On Oct 24, 2017, at 14:55, Ben Cohen via swift-dev > wrote: > > There really is no way to square this circle. Every option is going to > have downsides. We have to balance correctness, least surprise/most > expected behavior for most p

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

2017-10-24 Thread David Zarzycki via swift-dev
> On Oct 24, 2017, at 22:04, Xiaodi Wu via swift-dev > wrote: > > On Tue, Oct 24, 2017 at 4:28 PM, David Zarzycki > wrote: > > >> On Oct 24, 2017, at 14:55, Ben Cohen via swift-dev > > wrote: >> >> There really is no way to square this circle

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

2017-10-24 Thread Ben Cohen via swift-dev
> On Oct 24, 2017, at 6:48 PM, Xiaodi Wu wrote: > >> On Tue, Oct 24, 2017 at 1:55 PM, Ben Cohen wrote: >> >> >>> On Oct 19, 2017, at 4:29 PM, Xiaodi Wu via swift-dev >>> wrote: >>> >>> Differing behavior in generic and concrete contexts is simply too subtle to >>> be understandable to th

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

2017-10-24 Thread Xiaodi Wu via swift-dev
On Tue, Oct 24, 2017 at 10:08 PM, Ben Cohen wrote: > > > On Oct 24, 2017, at 6:48 PM, Xiaodi Wu wrote: > > On Tue, Oct 24, 2017 at 1:55 PM, Ben Cohen wrote: > >> >> >> On Oct 19, 2017, at 4:29 PM, Xiaodi Wu via swift-dev >> wrote: >> >> Differing behavior in generic and concrete contexts is si

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

2017-10-24 Thread David Sweeris via swift-dev
> On Oct 24, 2017, at 9:06 PM, Xiaodi Wu via swift-dev > wrote: > > On Tue, Oct 24, 2017 at 10:08 PM, Ben Cohen > wrote: > > > On Oct 24, 2017, at 6:48 PM, Xiaodi Wu > wrote: > >> On Tue, Oct 24, 2017 at 1:55 PM, Ben Cohen >

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

2017-10-24 Thread Xiaodi Wu via swift-dev
On Wed, Oct 25, 2017 at 1:24 AM, David Sweeris wrote: > > On Oct 24, 2017, at 9:06 PM, Xiaodi Wu via swift-dev > wrote: > > On Tue, Oct 24, 2017 at 10:08 PM, Ben Cohen wrote: > >> >> >> On Oct 24, 2017, at 6:48 PM, Xiaodi Wu wrote: >> >> On Tue, Oct 24, 2017 at 1:55 PM, Ben Cohen wrote: >> >>