From ba668094ad98504560f443c72673ae6f3990e4c7 Mon Sep 17 00:00:00 2001 From: Alexandros Naskos Date: Tue, 30 Mar 2021 21:44:37 +0300 Subject: [PATCH] Yet more import resolution fixes --- src/document_store.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/document_store.zig b/src/document_store.zig index 253d792..a8d87ec 100644 --- a/src/document_store.zig +++ b/src/document_store.zig @@ -422,6 +422,7 @@ fn refreshDocument(self: *DocumentStore, handle: *Handle) !void { still_exists: { for (new_imports) |new| { if (std.mem.eql(u8, new, old)) { + handle.imports_used.items[i] = new; break :still_exists; } }