Skip to content

Commit

Permalink
Fix building of cursor to references reverse mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
ggiraldez committed Jan 22, 2025
1 parent 156106f commit d0579c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/metaslang/bindings/src/builder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ impl<KT: KindTypes + 'static> BindingGraphBuilder<KT> {
});
result.references_info.iter().for_each(|(handle, reference_info)| {
let cursor_id = reference_info.cursor.node().id();
self.info.cursor_to_definitions.insert(cursor_id, *handle);
self.info.cursor_to_references.insert(cursor_id, *handle);
});

self.info.definitions_info
Expand Down

0 comments on commit d0579c9

Please sign in to comment.