fix allocator mismatch in tagStoreCompletionItems (#717)
This commit is contained in:
parent
2a17590bf4
commit
88750d2529
@ -878,8 +878,8 @@ fn tagStoreCompletionItems(self: DocumentStore, arena: std.mem.Allocator, handle
|
|||||||
defer tracy_zone.end();
|
defer tracy_zone.end();
|
||||||
|
|
||||||
var dependencies = std.ArrayListUnmanaged(Uri){};
|
var dependencies = std.ArrayListUnmanaged(Uri){};
|
||||||
try dependencies.append(self.allocator, handle.uri);
|
try dependencies.append(arena, handle.uri);
|
||||||
try self.collectDependencies(self.allocator, handle, &dependencies);
|
try self.collectDependencies(arena, handle, &dependencies);
|
||||||
|
|
||||||
// TODO Better solution for deciding what tags to include
|
// TODO Better solution for deciding what tags to include
|
||||||
var result_set = analysis.CompletionSet{};
|
var result_set = analysis.CompletionSet{};
|
||||||
|
Loading…
Reference in New Issue
Block a user