Small fix
This commit is contained in:
parent
5454883d2d
commit
6dc05df0ac
@ -667,7 +667,7 @@ fn getSymbolFieldAccess(
|
|||||||
var tokenizer = std.zig.Tokenizer.init(position.line[range.start..range.end]);
|
var tokenizer = std.zig.Tokenizer.init(position.line[range.start..range.end]);
|
||||||
|
|
||||||
if (try analysis.getFieldAccessType(&document_store, arena, handle, position.absolute_index, &tokenizer)) |result| {
|
if (try analysis.getFieldAccessType(&document_store, arena, handle, position.absolute_index, &tokenizer)) |result| {
|
||||||
const container_handle = result.original;
|
const container_handle = result.unwrapped orelse result.original;
|
||||||
const container_handle_node = switch (container_handle.type.data) {
|
const container_handle_node = switch (container_handle.type.data) {
|
||||||
.other => |n| n,
|
.other => |n| n,
|
||||||
else => return null,
|
else => return null,
|
||||||
|
Loading…
Reference in New Issue
Block a user