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-6540] swiftc Crash #49090
Comments
Most probably related to SR-6541 |
@swift-ci create |
|
@xedin Tested with latest nightly, no problem with compilation. SourceKit still crashes when code is put inside a Playground. No problems at all when run in a normal Command Line project. |
AnthonyLatsis
added
the
crash
Bug: A crash, i.e., an abnormal termination of software
label
Dec 12, 2022
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Xcode 9.2 (9C40b) on macOS Sierra (16G1036)
Additional Detail from JIRA
md5: 5ed879bcd47f874eddd36d0a93bfec9a
is duplicated by:
Issue Description:
Try and compile the following Swift source:
struct Container {let string = "yes"
}let optionalContainer: Container? = Container()
let optionalString: String? = "toto"
switch optionalString {
case optionalContainer?.string?: ()
default: ()
}
The compiler crashes with a segfault.
The text was updated successfully, but these errors were encountered: