We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
0.9.1
Example program can be found here: https://godbolt.org/z/fbvqE66vq
Tuples that contain type fields should compile into fields that are marked as anytype
If a struct is provided that has anytype fields, then providing a tuple that has a type to those fields will result in an invalid array access error.
The text was updated successfully, but these errors were encountered:
anytype fields got removed anyway. see #10705
anytype
If you change the compiler version to zig trunk you can see the new compile error:
zig trunk
4:8: error: expected type expression, found 'anytype'
Sorry, something went wrong.
@luehmann good to know, thanks!
No branches or pull requests
Zig Version
0.9.1
Steps to Reproduce
Example program can be found here: https://godbolt.org/z/fbvqE66vq
Expected Behavior
Tuples that contain type fields should compile into fields that are marked as anytype
Actual Behavior
If a struct is provided that has anytype fields, then providing a tuple that has a type to those fields will result in an invalid array access error.
The text was updated successfully, but these errors were encountered: