Xcode-7-beta.4 (7A165t): [Swift] Segfault when attempting to use subtyping

Originator:segiddins
Number:rdar://22084083 Date Originated:30-Jul-2015 05:05 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode-7-beta.4 (7A165t)
Classification:Enhancement Reproducible:Always
 
Summary:
Swift segfaults. That’s bad.

Steps to Reproduce:
class A { var o: String? { return "foo" } }
class B : A { override var o: String { return "bar" } }
B().o

Expected Results:
Shouldn’t crash.

Actual Results:
But totally does.

Comments


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!