New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-1333] Crash after "warning: no calls to throwing functions occur within 'try' expression" #43941
Comments
The issue can be reproduced as below: 1) Put the code snippet in a file called SR-1333.swift. Result: Crash. Output:
|
Was about to file bug but searching turned up this one. |
Still happening with the latest 4.0 development snapshot: swift-4.0-DEVELOPMENT-SNAPSHOT-2017-05-11 |
Still crashing with swift-4.0-DEVELOPMENT-SNAPSHOT-2017-07-10-a.xctoolchain Interestingly it does not crash when an incorrect "-swift-version" argument is provided.
|
Comment by Kenneth Ackerson (JIRA) Here is an Xcode project with some sample code that seems to cause this same issue as well help.zip |
Kenny (JIRA User) reports that his example regressed from 3.1 to 4.0 as well. |
@swift-ci create |
Merged to swift-4.0-branch as dd684ea. |
Attachment: Download
Environment
Mac, Xcode 7.3 with Xcode Swift 2.2.1 Snapshot 2016-04-23 (a),
or swift-4.0-DEVELOPMENT-SNAPSHOT-2017-05-11
Additional Detail from JIRA
md5: 852695a5356393ba0414ab26aaa5f827
Issue Description:
swift crashes when it is compiling this simple, incorrect, snippet:
Stack trace
The text was updated successfully, but these errors were encountered: