-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
False dependency loop #14147
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
Comments
|
Reduction: const SListImpl = extern struct {
Next: SListNullable,
};
const SListNullable = packed struct {
instance: ?*SListImpl,
};
comptime {
_ = @sizeOf(SListNullable) + 1;
} Removing |
This appears to be fixed in master after #17172 was merged. |
This issue was originally assigned to the 0.11.1 milestone. Now that it's closed and only fixed in master, I changed the milestone to 0.12.0. FYI, in case the issue should still exist in 0.11.1 and be reopened. |
the 0.11.1 milestone is andrew's checklist to cherry pick fixes, 0.12.0 is for if only going to be fixed in future versions |
Don't worry, the git commit log is my checklist |
Uh oh!
There was an error while loading. Please reload this page.
Zig Version
0.11.0-dev.923+a52dcdd3c
Steps to Reproduce and Observed Behavior
Possibly related #14005
Observed Behavior:
Related code
I failed to narrow down this. If extracted into small files, it behaves correctly. Maybe there is something to do with the file size.
Possibly related infomation
Expected Behavior
No error
The text was updated successfully, but these errors were encountered: