We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sway-lsp
1 parent 30ebc21 commit 4823038Copy full SHA for 4823038
sway-lsp/tests/lib.rs
@@ -1118,7 +1118,7 @@ fn go_to_definition_for_consts() {
1118
)
1119
.await;
1120
1121
- // value: TyExpression
+ // value: TyExpression: `ContractId`
1122
let mut contract_go_to = GotoDefinition {
1123
req_uri: &uri,
1124
req_line: 9,
@@ -1130,8 +1130,9 @@ fn go_to_definition_for_consts() {
1130
};
1131
lsp::definition_check(&server, &contract_go_to).await;
1132
1133
+ // value: `from`
1134
contract_go_to.req_char = 34;
- contract_go_to.def_line = 70;
1135
+ contract_go_to.def_line = 62;
1136
contract_go_to.def_start_char = 7;
1137
contract_go_to.def_end_char = 11;
1138
0 commit comments