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
Attachment: Download
md5: 7ff38942e37b2d5dde312c94d27b4883
Issue Description:
In a generic class A:
class A<T:ModelType> {
...
T is constrained by:
protocol ModelType: AnyObject, ModelType1, ModelType2 {
**func** description() -\> String
}
but this does not prevent T from being handled as a Struct value type.
Originally I posted this problem in stack overflow:
https://stackoverflow.com/questions/67233418/swift-memory-conflict-where-it-should-not-happen
Note, that I was not aware of the problem at that point, so the example code is a bit off. But discussion reveals the problem and the bug.
The attached SwiftUI project can be used to reproduce the bug.
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
No branches or pull requests
Attachment: Download
Additional Detail from JIRA
md5: 7ff38942e37b2d5dde312c94d27b4883
Issue Description:
In a generic class A:
class A<T:ModelType> {
...
T is constrained by:
protocol ModelType: AnyObject, ModelType1, ModelType2 {
}
but this does not prevent T from being handled as a Struct value type.
Originally I posted this problem in stack overflow:
https://stackoverflow.com/questions/67233418/swift-memory-conflict-where-it-should-not-happen
Note, that I was not aware of the problem at that point, so the example code is a bit off. But discussion reveals the problem and the bug.
The attached SwiftUI project can be used to reproduce the bug.
The text was updated successfully, but these errors were encountered: