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.1622+2ac543388
0.14.0-dev
No response
The title is probably wrong, since i don't know how it is called exactly, but i'll try to be precise in the report
const std = @import("std"); const Stuff = struct { array: std.ArrayList(i32), }; pub fn main() !void { const allocator = std.heap.page_allocator; const stuff = Stuff { .array = .init(allocator) // HERE, i don't get `.init` completion }; _=stuff; }
In line 10, i should get completions for functions from std.ArrayList, in that case init function
std.ArrayList
init
The text was updated successfully, but these errors were encountered:
They are called "decl literals". See ziglang/zig#21264 This issue is tracked in #2027.
Sorry, something went wrong.
thanks
No branches or pull requests
Zig Version
0.14.0-dev.1622+2ac543388
ZLS Version
0.14.0-dev
Client / Code Editor / Extensions
No response
Steps to Reproduce and Observed Behavior
The title is probably wrong, since i don't know how it is called exactly, but i'll try to be precise in the report
Expected Behavior
In line 10, i should get completions for functions from
std.ArrayList
, in that caseinit
functionRelevant log output
No response
The text was updated successfully, but these errors were encountered: