Compiler crash: is this a bug in Swift or Xcode?

When I put these two lines in a Swift file in Xcode (8.1), I get both
“SourceKitService quit unexpectedly” and “lldb-rpc-server quit
unexpectedly”:

func f(_ a: Int, _ b: Int) { }
func f(_ ab: (Int, Int)) { }

Where should I file a bug report?

Nevin

SourceKit crashes are usually the compiler's fault. SourceKit is also part of the open-source Swift project, so you can file bugs to bugs.swift.org <Issues · apple/swift · GitHub.

-Joe

···

On Nov 10, 2016, at 10:48 AM, Nevin Brackett-Rozinsky via swift-dev <swift-dev@swift.org> wrote:

When I put these two lines in a Swift file in Xcode (8.1), I get both “SourceKitService quit unexpectedly” and “lldb-rpc-server quit unexpectedly”:

func f(_ a: Int, _ b: Int) { }
func f(_ ab: (Int, Int)) { }

Where should I file a bug report?

Nevin

This particular bug is known, though, so no need for another one. SR-1795 <Issues · apple/swift-issues · GitHub;

Jordan

···

On Nov 10, 2016, at 11:19, Joe Groff via swift-dev <swift-dev@swift.org> wrote:

On Nov 10, 2016, at 10:48 AM, Nevin Brackett-Rozinsky via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

When I put these two lines in a Swift file in Xcode (8.1), I get both “SourceKitService quit unexpectedly” and “lldb-rpc-server quit unexpectedly”:

func f(_ a: Int, _ b: Int) { }
func f(_ ab: (Int, Int)) { }

Where should I file a bug report?

Nevin

SourceKit crashes are usually the compiler's fault. SourceKit is also part of the open-source Swift project, so you can file bugs to bugs.swift.org <Issues · apple/swift · GitHub.

Thank you both.

Nevin

···

On Thu, Nov 10, 2016 at 6:57 PM, Jordan Rose <jordan_rose@apple.com> wrote:

On Nov 10, 2016, at 11:19, Joe Groff via swift-dev <swift-dev@swift.org> > wrote:

On Nov 10, 2016, at 10:48 AM, Nevin Brackett-Rozinsky via swift-dev < > swift-dev@swift.org> wrote:

When I put these two lines in a Swift file in Xcode (8.1), I get both
“SourceKitService quit unexpectedly” and “lldb-rpc-server quit
unexpectedly”:

func f(_ a: Int, _ b: Int) { }
func f(_ ab: (Int, Int)) { }

Where should I file a bug report?

Nevin

SourceKit crashes are usually the compiler's fault. SourceKit is also part
of the open-source Swift project, so you can file bugs to bugs.swift.org.

This particular bug is known, though, so no need for another one. SR-1795
<Issues · apple/swift-issues · GitHub;

Jordan