-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
@mem{cpy,set}
fixes
#15704
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
@mem{cpy,set}
fixes
#15704
Conversation
1433dbd
to
bbea91e
Compare
// :15:13: error: type '*u8' does not support indexing | ||
// :15:13: note: operand must be an array, slice, tuple, or vector | ||
// :10:13: error: type '*u8' is not an indexable pointer | ||
// :10:13: note: operand must be a slice, a many pointer or a pointer to an array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Destination may be a tuple, previous message was more correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding was that that hasn't been implemented yet #15479?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's correct, it's not implemented yet. It's fine to do as you have it, as long as you're aware 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a link to the issue next to the error message as a reminder.
Closes ziglang#15634 Co-authored-by: Dima Afanasyev <[email protected]>
`@mem{cpy,set}` fixes
Closes #15638, with parts being reused with attribution