We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06edda4 commit d4fe76fCopy full SHA for d4fe76f
components/clarity-lsp/src/common/state.rs
@@ -382,13 +382,13 @@ impl EditorState {
382
{
383
let public_definitions = get_public_function_definitions(expressions);
384
return Some(Location {
385
- uri: contract_location.try_into().ok()?,
+ uri: definition_contract_location.try_into().ok()?,
386
range: *public_definitions.get(function_name)?,
387
});
388
};
389
390
Some(Location {
391
392
range: *protocol
393
.contracts
394
.get(definition_contract_location)?
0 commit comments