[SR-3474] Swift 3 Whole Module Optimization Issue #46062
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
optimized only
Flag: An issue whose reproduction requires optimized compilation
run-time crash
Bug → crash: Swift code crashed during execution
Attachment: Download
Environment
building with Xcode 8.2, running on iPhone 6 iOS 10
Additional Detail from JIRA
md5: 527562dfe02323edd05f58e89e529e0e
Issue Description:
I think I found a swift 3 whole module optimization issue. The code below, when building with release configuration and running on an iOS 10 real device, will always causes a crash.
You can see the attachment for more detail info.
Or if you use github, this is the repo:
https://github.com/zaczh/Swift3ClosureDemo
The text was updated successfully, but these errors were encountered: