Xcode Swift 1.2 compilation process aborts with an exception.
| Originator: | Nikita.Leonov | ||
| Number: | rdar://22011226 | Date Originated: | July 27, 2015 |
| Status: | Open | Resolved: | |
| Product: | Swift | Product Version: | 1.2 |
| Classification: | Reproducible: | Always |
https://github.com/nikita-leonov/nested-closures-xcode-crash Summary: Attached Swift 1.2 code sample crashes during compilation on Xcode 6.4 (6E35b) with a following exception: Global is external, but doesn't have external or weak linkage! i8* ()* @_TFF13NestableIssueU_FFT_T_T_auL_8callbackFT_T_ invalid linkage type for function declaration i8* ()* @_TFF13NestableIssueU_FFT_T_T_auL_8callbackFT_T_ LLVM ERROR: Broken module found, compilation aborted! Steps to Reproduce: 1. Download code sample 2. Compile Expected Results: Successful compilation Actual Results: Exception thrown: Global is external, but doesn't have external or weak linkage! i8* ()* @_TFF13NestableIssueU_FFT_T_T_auL_8callbackFT_T_ invalid linkage type for function declaration i8* ()* @_TFF13NestableIssueU_FFT_T_T_auL_8callbackFT_T_ LLVM ERROR: Broken module found, compilation aborted! Version: Xcode 6.4 (6E35b), 10.10.4 (14E46) Configuration: Occurs every time.
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!