[SR-5038] Swift 4 compiler crash #47614
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
regression
serialization
Area → compiler: Serialization & deserialization
swift 4.0
Environment
Xcode 8.3.2 (8E2002)
Toolchain: Swift 4.0 Snapshot 2017-05-24 (a)
macOS 10.12.5
Additional Detail from JIRA
md5: 58b62d30ac0940f2ac47769959386d15
Issue Description:
The Swift 4.0 compiler (2017-05-24-a) crashes when compiling the following code that works with the Swift 3.x compiler:
Reduced Repro Case:
Steps to Reproduce:
Result:
Result with Swift 3.x:
Swift 4.0 workaround:
Moving the
line outside of the
test()
function resolves the crash.The text was updated successfully, but these errors were encountered: