Swift Runtime Hangs with a closure of a self-referential generic type
| Originator: | jeff | ||
| Number: | rdar://19934900 | Date Originated: | |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | |
| Classification: | Hang | Reproducible: | Always |
Summary: Swift runtime hangs with a recursive generic type enclosed in a generic closure. Steps to Reproduce: Clone repository: https://github.com/jeffh/GenericDeadlockExample and run tests. Or run attached code. Expected Results: I expect it to run. Actual Results: Deadlock inside nodeFactory() because of double getGenericMetadata for Node type. Version: Xcode 6.3 beta 2 (6D532l), Yosemite 10.10.2 Notes: Configuration: MBP retina mid 2014, Attachments: 'GenericDeadlockExampleTests.swift' was successfully uploaded.
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!