`.init` creates segmentation fault
Originator: | mads | ||
Number: | rdar://32638362 | Date Originated: | June 8 2017, 7:10 AM |
Status: | Open | Resolved: | |
Product: | Xcode | Product Version: | 9 |
Classification: | Crash | Reproducible: | Always |
Area: Xcode Summary: When we send `.init` on an object in swift to a method taking an escaping closure with no parameters that returns the type of the object, the Swift compiler crashes with a segmentation fault. Steps to Reproduce: Download commit `c32cc81d592220f651f15494ea56665fafa9175e` of https://github.com/Swinject/Swinject Expected Results: It should not crash Observed Results: It crashes on compile. Version: iOS 9 Notes: Configuration:
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!