Skip to content

Commit

Permalink
fix bug after code merge
Browse files Browse the repository at this point in the history
  • Loading branch information
amyXia1994 committed Oct 9, 2023
1 parent e0236bf commit 6c34c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kclvm/tools/src/LSP/src/goto_def.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ pub(crate) fn resolve_var(
obj.doc = doc;
obj.start = node_names[0].get_pos();
obj.end = node_names[0].get_end_pos();
Some(Definition::Object(obj))
Some(Definition::Object(obj, name))
}
None => None,
},
Expand Down

0 comments on commit 6c34c41

Please sign in to comment.