-
-
Notifications
You must be signed in to change notification settings - Fork 418
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Zig Version
0.11.0-dev.323+30eb2a175
Zig Language Server Version
Steps to Reproduce
- clone the zls repo
- zig build -Drelease-safe
Expected Behavior
build should happen normally
Actual Behavior
./src/semantic_tokens.zig:1002:81: error: no member named 'name_token' in struct 'std.zig.Ast.full.ContainerField.Components'
if (field_token_type) |tok_type| try writeToken(builder, container_field.ast.name_token, tok_type);
^
./src/Server.zig:687:58: error: no member named 'name_token' in struct 'std.zig.Ast.full.ContainerField.Components'
.label = handle.tree.tokenSlice(field.ast.name_token),
^
./src/ComptimeInterpreter.zig:792:64: error: no member named 'name_token' in struct 'std.zig.Ast.full.ContainerField.Components'
const name = tree.tokenSlice(field_info.ast.name_token);
^
./src/analysis.zig:1402:81: error: no member named 'name_token' in struct 'std.zig.Ast.full.ContainerField.Components'
.container_field => return tree.tokenSlice(tree.containerField(node).ast.name_token),
^
./src/analysis.zig:294:58: error: no member named 'name_token' in struct 'std.zig.Ast.full.ContainerField.Components'
.container_field => tree.containerField(node).ast.name_token,
^
./src/analysis.zig:229:55: error: no member named 'name_token' in struct 'std.zig.Ast.full.ContainerField.Components'
const start = offsets.tokenToIndex(tree, field.ast.name_token);
^
error: zls...
error: The following command exited with error code 1:
/home/linuxbrew/.linuxbrew/Cellar/zig/HEAD-30eb2a1/bin/zig build-exe -fstage1 /home/q/.src/zls/src/main.zig -OReleaseSafe --cache-dir /home/q/.src/zls/zig-cache --global-cache-dir /home/q/.cache/zig --name zls --pkg-begin build_options /home/q/.src/zls/zig-cache/options/CoKUa1o0sG7ubzocFhm83Wl_rtu1igDPds4dRJqTWyN4eWjhXqv4JRYvILokTJDp --pkg-end --pkg-begin known-folders /home/q/.src/zls/src/known-folders/known-folders.zig --pkg-end --enable-cache
error: the following build command failed with exit code 1:
/home/q/.src/zls/zig-cache/o/ce24d3eabd7185314699c08e05afe87a/build /home/linuxbrew/.linuxbrew/Cellar/zig/HEAD-30eb2a1/bin/zig /home/q/.src/zls /home/q/.src/zls/zig-cache /home/q/.cache/zig -Drelease-safeReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working