Fix native diagnostics not working

This commit is contained in:
Shoyu Vanilla 2024-08-07 23:33:39 +09:00
parent 6fc5d09ab2
commit d366706cc3

View file

@ -110,7 +110,7 @@ impl DiagnosticCollection {
})
{
// don't signal an update if the diagnostics are the same
return;
continue;
}
if *old_gen < generation || generation == 0 {
target.insert(file_id, (generation, diagnostics));