-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
The 'consume' operator does not end the lifetime of copyable types #68128
Comments
|
rdar://114395689 ([GH:#68128] [move-only] The 'consume' operator does not end the lifetime of copyable types) |
|
The same issue was reported as #68122 |
|
this looks like a different issue: #68122 |
|
rdar://113142446 |
nate-chandler
added a commit
to nate-chandler/swift
that referenced
this issue
Jun 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://forums.swift.org/t/should-deinit-be-called-after-explicit-consume-of-reference-type/66920
consumereference.swift.txt
The
consumeoperator ends the variable's lifetime. The following behavior is incorrect and reflects the fact that the operator is not fully implemented.The text was updated successfully, but these errors were encountered: