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
0.14.0-dev.2638+04c9f50ae
test { _ = [0:.{}]struct {}; }
non scalar sentinels were removed in #21509 but this still passes. its only when used on slices that it fails
test { _ = [:.{}]struct {}; }
a.zig:2:12: error: non-scalar sentinel type 'a.test_0__struct_377' _ = [:.{}]struct {}; ~^~
compile error in both examples
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Zig Version
0.14.0-dev.2638+04c9f50ae
Steps to Reproduce and Observed Behavior
non scalar sentinels were removed in #21509 but this still passes. its only when used on slices that it fails
Expected Behavior
compile error in both examples
The text was updated successfully, but these errors were encountered: