Re: [swift-dev] Xcode 8 GM: Compiler segfaults on ExpressibleByArrayLiteral

2016-09-13 Thread Slava Pestov via swift-dev
This bug was fixed in the following commit: https://github.com/apple/swift/commit/75bd88968bcb0e77bc0a9d6d6191c5ab362d2736 The JIRA bug is https://bugs.swift.org/browse/SR-488>. Slava > On Sep 8, 2016, at 11:42 AM, Ole Begemann via swift-dev > wrote: > >> FWIW, it’s actually fixed in master

Re: [swift-dev] Xcode 8 GM: Compiler segfaults on ExpressibleByArrayLiteral

2016-09-08 Thread Ole Begemann via swift-dev
FWIW, it’s actually fixed in master (probably due to Slava’s recent work on the generics system). The primary benefit to filing a radar at this point is that you’ll get notified when the fix makes it into an Xcode release. Thanks. I'll just wait then. :-) _

Re: [swift-dev] Xcode 8 GM: Compiler segfaults on ExpressibleByArrayLiteral

2016-09-08 Thread Douglas Gregor via swift-dev
> On Sep 8, 2016, at 6:50 AM, Ole Begemann via swift-dev > wrote: > > I'm seeing a segmentation fault when compiling this code with Xcode 8 GM: > > ``` > // stack.swift > struct Stack { >var elements: [Element] = [] > } > > extension Stack: ExpressibleByArrayLiteral { >init(arrayLiter

Re: [swift-dev] Xcode 8 GM: Compiler segfaults on ExpressibleByArrayLiteral

2016-09-08 Thread Jordan Rose via swift-dev
Since it's just about the Swift compiler and types found entirely in the standard library, you can be confident about bugs.swift.org. (It's a bit more of a mix when there's system APIs involved: sometimes that's the compiler and sometimes it's the SDK. But this one doesn't go there.) Thanks, Ol

[swift-dev] Xcode 8 GM: Compiler segfaults on ExpressibleByArrayLiteral

2016-09-08 Thread Ole Begemann via swift-dev
I'm seeing a segmentation fault when compiling this code with Xcode 8 GM: ``` // stack.swift struct Stack { var elements: [Element] = [] } extension Stack: ExpressibleByArrayLiteral { init(arrayLiteral elements: Element...) { self.elements = elements } } ``` --- This is my