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.12.0-dev.899+027aabf49
1a282b3
pub const bar = struct { pub const baz = struct { pub const Foo = struct { a: u32 = 0, }; pub fn qux() u32 { return Foo{ . }; } }; }; test { bar.baz.qux() == 0; }
a
Note that if Foo is moved to be defined inside bar instead of baz, it works as expected.
Foo
bar
baz
Completions for the Foo struct fields should work
No completions for the struct fields
The text was updated successfully, but these errors were encountered:
Notes:
digit
dot
1.
Sorry, something went wrong.
This appears to be fixed by #1536.
Successfully merging a pull request may close this issue.
Zig Version
0.12.0-dev.899+027aabf49
Zig Language Server Version
1a282b3
Steps to Reproduce
a
Note that if
Foo
is moved to be defined insidebar
instead ofbaz
, it works as expected.Expected Behavior
Completions for the
Foo
struct fields should workActual Behavior
No completions for the struct fields
The text was updated successfully, but these errors were encountered: