alephium / ralph-lsp

Ralph language server
7 stars 1 forks source link

Partially incorrect tuple definition search result #299

Closed simerplaha closed 2 months ago

simerplaha commented 2 months ago

For tuples, go-to definition search on either one of the tuple usage results in both first and second definitions being reported.

Contract Test() {
  fn test() -> () {
    let (first, second) = someOtherFunction()

    function(
      first, // run 'go to definition' on this
      second // or this, both result in both tuple definitions being reported
    )
  }
}