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.367+a57479afc
0.14.0-dev.54+adf3b83
nvim 0.10.0 with nvim-lspconfig
const s = "hello"; const b = s[0]; _ = b;
^ b has unknown type.
Explicitly specifying the string type fixes the issue.
pub fn main() void { const string = "Hello, world!"; for (string) |byte| { _ = byte; } for ("hello") |byte| { _ = byte; } }
Type of the indexed value should be u8.
u8
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Zig Version
0.14.0-dev.367+a57479afc
Zig Language Server Version
0.14.0-dev.54+adf3b83
Client / Code Editor / Extensions
nvim 0.10.0 with nvim-lspconfig
Steps to Reproduce and Observed Behavior
^ b has unknown type.
Explicitly specifying the string type fixes the issue.
Expected Behavior
Type of the indexed value should be
u8
.Relevant log output
No response
The text was updated successfully, but these errors were encountered: