Swift: compiler segmentation fault

Number:rdar://19363080 Date Originated:01-Jan-2015 03:05 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.1.1 (6A2008a)
Classification:Crash Reproducible:Always
Define two methods that same name overloading by return type (one is tuple). Also define subscripting method that has the same name that calls the above method and accessing the first property of the tuple. The Swift compiler causes segmentation fault.

Steps to Reproduce:
Reproduction case:

class A {
    func get(key: String) -> String? {
        return ""
    func get(key: String) -> (String?, Int?) {
        return ("", nil)
    subscript(key: String) -> String? {
        get {
            return get(key).0

Expected Results:
No crash.

Actual Results:
Compiler segmentation fault

OS X 10.10.1 (14B25)

Xcode 6.1.1 (6A2008a)
Xcode 6.2 (6C86e)

MacBookPro10,1, 16GB RAM


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!