Skip to content

Commit

Permalink
switch to StringLocation
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Oct 25, 2023
1 parent 83cb4e5 commit 4ecc397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languageserver/cmd/languageserver/main_wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func start(id int) {
return res.String(), nil
}

stringImportResolver := func(location common.AddressLocation) (code string, err error) {
stringImportResolver := func(location common.StringLocation) (code string, err error) {
res := global.Call(globalFunctionName(id, "getStringCode"), location.String())
if res.IsNull() || res.IsUndefined() {
return "", fmt.Errorf("CLS %d: getStringCode failed: %s", id, res)
Expand Down

0 comments on commit 4ecc397

Please sign in to comment.