Yet more import resolution fixes

This commit is contained in:
Alexandros Naskos 2021-03-30 21:44:37 +03:00
parent 6edd686668
commit ba668094ad
No known key found for this signature in database
GPG Key ID: 02BF2E72B0EA32D2

View File

@ -422,6 +422,7 @@ fn refreshDocument(self: *DocumentStore, handle: *Handle) !void {
still_exists: { still_exists: {
for (new_imports) |new| { for (new_imports) |new| {
if (std.mem.eql(u8, new, old)) { if (std.mem.eql(u8, new, old)) {
handle.imports_used.items[i] = new;
break :still_exists; break :still_exists;
} }
} }