[SR-5932] Segmentation fault: 11 when creating a Set of optionals #48491
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
swift 4.0
type checker
Area → compiler: Semantic analysis
Environment
Apple Swift version 4.0 (swiftlang-900.0.65 clang-900.0.37)
Target: x86_64-apple-macosx10.9
Xcode Version 9.0 (9A235)
Additional Detail from JIRA
md5: 28f9f1a700d5895f6e7a25d24b09a537
duplicates:
is duplicated by:
relates to:
Issue Description:
This code snippet
produces the following crash:
I don't know if this is the same issue, but here's another snippet, which produces a slightly different stacktrace:
Stacktrace:
This crashes in both, Swift 4 and Swift 3 mode.
In Swift 3.1 both examples error as expected.
The text was updated successfully, but these errors were encountered: