Closed swift-ci closed 7 years ago
To confirm: this doesn't fail in Xcode 8.3?
@swift-ci create
Comment by George King (JIRA)
Yes, this code used to compile fine using the XCode 8.3.2 toolchain.
Comment by George King (JIRA)
I tried this on Xcode 9b2 and it fails in the same way.
Comment by George King (JIRA)
Still failing on Xcode 9b3.
Comment by George King (JIRA)
I have produced a minimal repro of the bug, attached here. Just running the single file under the swift interpreter exits cleanly, but building the package crashes similarly to the initial trace above. swift-crflex-bug.zip
Prospective fix at https://github.com/apple/swift/pull/10956.
Follow-up work in https://github.com/apple/swift/pull/11018.
4.0 branch: https://github.com/apple/swift/pull/11013
Merged into swift-4.0-branch, will be in a future Xcode release.
Comment by George King (JIRA)
I'm still seeing this crash after installing Xcode 9 beta4 and the corresponding command line tools. Did this fix not make it into that release?
$ swift --version
Apple Swift version 4.0 (swiftlang-900.0.54.11 clang-900.0.31)
Target: x86_64-apple-macosx10.9
It did not, sorry.
Comment by George King (JIRA)
OK, thanks - better than the alternative!
Attachment: Download
Environment
OSX 10.12...10.13b3; Xcode 9b1...9b3.Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, 4.0Regression, CompilerCrash, Serialization | |Assignee | @belkadan | |Priority | Medium | md5: ca543f0c1a4225dd18f7cee68a6331e5Issue Description:
Repro as follows; let me know if there is something more useful I can provide.