Skip to content
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

Dependency loop false positive with optional pointers #4562

Closed
Vexu opened this issue Feb 26, 2020 · 3 comments
Closed

Dependency loop false positive with optional pointers #4562

Vexu opened this issue Feb 26, 2020 · 3 comments
Labels
bug Observed behavior contradicts documented or intended behavior stage1 The process of building from source via WebAssembly and the C backend.
Milestone

Comments

@Vexu
Copy link
Member

Vexu commented Feb 26, 2020

const std = @import("std");

const S = struct {
    a: u32,
    b: Map,

    const Map = std.StringHashMap(?*S);
};
test "" {
    _ = S;
}
@andrewrk andrewrk added bug Observed behavior contradicts documented or intended behavior stage1 The process of building from source via WebAssembly and the C backend. labels Feb 26, 2020
@andrewrk andrewrk added this to the 0.6.0 milestone Feb 26, 2020
@andrewrk
Copy link
Member

On the plus side, we're collecting some useful regression test cases for self-hosted

@andrewrk
Copy link
Member

Previous issue for context: #4560

@Vexu
Copy link
Member Author

Vexu commented Feb 26, 2020

It seems this has been broken since before 0.5.0 was released. I think I was hitting some other bug causing me to think this was a recent regression.

@Vexu Vexu changed the title Dependency loop regressed, again Dependency loop false positive Feb 26, 2020
@andrewrk andrewrk modified the milestones: 0.6.0, 0.7.0 Feb 26, 2020
@andrewrk andrewrk modified the milestones: 0.7.0, 0.8.0 Aug 13, 2020
@Vexu Vexu changed the title Dependency loop false positive Dependency loop false positive with optional pointers Aug 21, 2020
@andrewrk andrewrk modified the milestones: 0.8.0, 0.9.0 Nov 6, 2020
@andrewrk andrewrk modified the milestones: 0.9.0, 0.10.0 May 19, 2021
Vexu added a commit to Vexu/zig that referenced this issue Dec 31, 2022
Vexu added a commit to Vexu/zig that referenced this issue Dec 31, 2022
@andrewrk andrewrk modified the milestones: 0.12.0, 0.11.0 Jan 1, 2023
TUSF pushed a commit to TUSF/zig that referenced this issue May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior stage1 The process of building from source via WebAssembly and the C backend.
Projects
None yet
Development

No branches or pull requests

2 participants