You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple Swift version 5.3.1 (swiftlang-1200.0.39 clang-1200.0.32.6)
Additional Detail from JIRA
Votes
0
Component/s
Compiler
Labels
Bug
Assignee
None
Priority
Medium
md5: f72362e41a88c018f3ea34392e5769e0
Issue Description:
I'm using Xcode 12.2 beta and I wrote something that crashed the Swift compiler. I've attached a small project to demonstrate it, along with a text file showing the output.
The text was updated successfully, but these errors were encountered:
The testReadlink() function calls readlink(), which is "throws", but testReadlink() is not "throws". This should be rejected by the compiler, but it isn't because of how the string interpolation expression is nested inside the 'try'. I have a fix: #34340
Attachment: Download
Environment
macOS 11.0 Big Sur beta (20A5384c)
Version 12.2 beta 2 (12B5025f)
Apple Swift version 5.3.1 (swiftlang-1200.0.39 clang-1200.0.32.6)
Additional Detail from JIRA
md5: f72362e41a88c018f3ea34392e5769e0
Issue Description:
I'm using Xcode 12.2 beta and I wrote something that crashed the Swift compiler. I've attached a small project to demonstrate it, along with a text file showing the output.
The text was updated successfully, but these errors were encountered: