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-15115] propertyWrapper _enclosingInstance without setter crashes swiftc #57441
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
property wrappers
Feature: property wrappers
swift 5.9
type checker
Area → compiler: Semantic analysis
verifier
Comments
This triggers an ASTVerifier failure.
@swift-ci create |
AnthonyLatsis
added
the
crash
Bug: A crash, i.e., an abnormal termination of software
label
Dec 12, 2022
AnthonyLatsis
added
SILGen
Area → compiler: The SIL generation stage
property wrappers
Feature: property wrappers
swift 5.9
type checker
Area → compiler: Semantic analysis
and removed
SILGen
Area → compiler: The SIL generation stage
labels
May 12, 2023
Stack trace update:
|
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
property wrappers
Feature: property wrappers
swift 5.9
type checker
Area → compiler: Semantic analysis
verifier
Environment
Xcode 13b5
Apple Swift version 5.5 (swiftlang-1300.0.29.102 clang-1300.0.28.1)
macOS 11.5.2 (20G95)
Additional Detail from JIRA
md5: a8ac5f48b8e4501926af3c48669cc2eb
Issue Description:
Source code:
Compiler crash:
Uncommenting the setter (
set { }
) eliminates the crash.The text was updated successfully, but these errors were encountered: