We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
iMac (Retina 5K, 27-inch, 2019), macOS 11.3, Xcode 12.5
MacBook Pro (Retina, 15-inch, Mid 2015), macOS 10.15.7, Xcode 12.3
md5: e78de01bb76e1378e78ad689d5720824
Issue Description:
Generic structs S<T> cause a crash when:
S<T>
it contains a field with type T?
T?
it is specialized by an existential type, e.g. S<P> where P is a protocol.
S<P>
P
For example, the following code in Xcode Playground causes a crash.
protocol P {} struct S<T> { let field: T? = nil } let x = S<P>() // error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=EXC_I386_GPFLT).
This issue only occurs in Xcode Playground.
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
No branches or pull requests
Environment
iMac (Retina 5K, 27-inch, 2019), macOS 11.3, Xcode 12.5
MacBook Pro (Retina, 15-inch, Mid 2015), macOS 10.15.7, Xcode 12.3
Additional Detail from JIRA
md5: e78de01bb76e1378e78ad689d5720824
Issue Description:
Generic structs
S<T>
cause a crash when:it contains a field with type
T?
it is specialized by an existential type, e.g.
S<P>
whereP
is a protocol.For example, the following code in Xcode Playground causes a crash.
This issue only occurs in Xcode Playground.
The text was updated successfully, but these errors were encountered: