Fix native diagnostics not working

This commit is contained in:
Shoyu Vanilla 2024-08-07 23:33:39 +09:00
parent 0e282fcd04
commit ec0f00fc03

View file

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