Fixed error after merge

This commit is contained in:
Sergeeeek 2020-05-19 07:18:39 +03:00
parent c4aa35872c
commit 5043a10dd4

View File

@ -397,7 +397,7 @@ fn completeFieldAccess(id: i64, handle: *DocumentStore.Handle, position: types.P
const line_length = line.len - line_start_idx;
if (analysis.getFieldAccessTypeNode(&analysis_ctx, &tokenizer, line_length)) |node| {
try nodeToCompletion(&completions, analysis_ctx, node, config);
try nodeToCompletion(&completions, &analysis_ctx, node, config);
}
try send(types.Response{
.id = .{ .Integer = id },