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-3186] Crash when capture list references parameter of outer single-expression closure #45774
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
type checker
Area → compiler: Semantic analysis
Comments
|
still crashes in very recent Swift 4
version is
checkout is from this week. |
I'm not seeing that particular assert with this test case, but I do see this: |
@swift-ci create |
Here's a reduction: func r(_ fn: ((Int) -> Int)->Int) {}
func test() {
let _ = r {
f in { [f] _ in f(1) }
}
} |
See the discussion in https://bugs.swift.org/browse/SR-5870 for details. |
@swift-ci create |
Doug merged the fix: #33116 |
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
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
type checker
Area → compiler: Semantic analysis
Attachment: Download
Additional Detail from JIRA
md5: 4641f79d35f3a301584735972998360c
is duplicated by:
Issue Description:
Description
Compiling the following program
results in the following crashes
macOS
for
Linux
for
The text was updated successfully, but these errors were encountered: