Xcode 6.1.1: Trivial Swift linked list cleanly compiles but hangs on execution
| Originator: | fcanas | ||
| Number: | rdar://19757706 | Date Originated: | 07-Feb-2015 12:19 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 6.1.1 (6A2008a) |
| Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: A trivial implementation of a linked list compiles but cannot runs Steps to Reproduce: Compile attached code, and run. Or run with the swift command line program. Expected Results: The code should execute and complete or the Swift compiler should complain. Actual Results: The code hangs on initializing a List Regression: If the List struct is defined with a boxed value, the code compiles and runs well. Notes: Attached is a short source file exhibiting the problem. It includes a commented redefinition of a List that does not exhibit the problem.
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!