fix: Fix modules in blocks not resolving in ide layer

This commit is contained in:
Lukas Wirth 2024-02-26 13:51:24 +01:00
parent 5346002d07
commit 91554e0ae7
11 changed files with 183 additions and 33 deletions

View file

@ -570,7 +570,7 @@ impl CrateGraph {
.arena
.iter_mut()
.take(m)
.find_map(|(id, data)| merge((id, data), (topo, &crate_data)).then_some(id));
.find_map(|(id, data)| merge((id, data), (topo, crate_data)).then_some(id));
let new_id =
if let Some(res) = res { res } else { self.arena.alloc(crate_data.clone()) };