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.2563+af5e73172
run zig test on the following code:
zig test
test { _ = s; } const S = struct { x: *const u64, y: u64 }; const s: S = .{ .x = &s.y, .y = 0 };
compiler outputs:
$ zig test oops.zig oops.zig:6:1: error: dependency loop detected const s: S = .{ .x = &s.y, .y = 0 }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The code should compile and run without errors; although #22303 resolved #131, the compiler still seemingly fails for more complex place expressions.
The text was updated successfully, but these errors were encountered:
Oh, sorry, I must have missed this the other day: your version is just one commit too old. This works fine on master.
Sorry, something went wrong.
No branches or pull requests
Zig Version
0.14.0-dev.2563+af5e73172
Steps to Reproduce and Observed Behavior
run
zig test
on the following code:compiler outputs:
Expected Behavior
The code should compile and run without errors;
although #22303 resolved #131, the compiler still seemingly fails for more complex place expressions.
The text was updated successfully, but these errors were encountered: