Re: [swift-dev] Compiler crash - relates to protocol and protocol extension

2015-12-21 Thread Dmitri Gribenko via swift-dev
On Sun, Dec 20, 2015 at 4:42 AM, Jasl via swift-dev wrote: > Hi, > > I found a piece of code that could made the compiler crash, It’s can > reproduce on Xcode 7.2(7C68) with Apple Swift version 2.1.1 > (swiftlang-700.1.101.15 clang-700.1.81) Target: x86_64-apple-darwin15.2.0 > > the code is simpl

[swift-dev] Compiler crash - relates to protocol and protocol extension

2015-12-21 Thread Jasl via swift-dev
Hi, I found a piece of code that could made the compiler crash, It’s can reproduce on Xcode 7.2(7C68) with Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81) Target: x86_64-apple-darwin15.2.0 the code is simply like: protocol FooType {   func bar(b: Int) } extension FooType {