Swift 1.2b1: Crash typechecking case analysis function
| Originator: | rix.rob | ||
| Number: | rdar://19769111 | Date Originated: | 09-Feb-2015 02:44 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode-Beta (6D520o) |
| Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: Provide a descriptive summary of the issue. Steps to Reproduce: 1. Clone this branch https://github.com/robrix/List/tree/swift-1.2b1-crasher 2. Clone the dependencies 3. Open the workspace 4. Build Expected Results: I expected the compiler to build successfully, or to error out and tell me why. Actual Results: It crashed, apparently while typechecking the analysis function: 1. While type-checking 'analysis' at /Users/rob/Developer/Projects/List/List/List.swift:54:9 Regression: This does not crash in 1.1. Notes: A very similar function, `either`, in my Either library (https://github.com/robrix/Either) does not crash the compiler.
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!