Fixed prefix op semantic tokens

This commit is contained in:
Alexandros Naskos 2020-10-02 15:01:49 +03:00
parent 751f66068b
commit bfb96d951b

View File

@ -743,6 +743,7 @@ fn writeNodeTokens(builder: *Builder, arena: *std.heap.ArenaAllocator, store: *D
.Try, .Await, .Resume => .keyword, .Try, .Await, .Resume => .keyword,
else => .operator, else => .operator,
}; };
try writeToken(builder, prefix_op.op_token, tok_type);
try await @asyncCall(child_frame, {}, writeNodeTokens, .{ builder, arena, store, prefix_op.rhs }); try await @asyncCall(child_frame, {}, writeNodeTokens, .{ builder, arena, store, prefix_op.rhs });
}, },
else => {}, else => {},