Skip to content

Commit

Permalink
test: resovel args3c case
Browse files Browse the repository at this point in the history
  • Loading branch information
tbruyelle committed Aug 14, 2024
1 parent a4fe1fc commit 0fefd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/handler/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (s symbolFinder) findIn(symbols []gno.Symbol, selectors []string) []gno.Sym
// sym is a struct or an interface, lookup in fields/methods
return s.findIn(sym.Fields, selectors[1:])

case "func":
case "func", "method":
if sym.Type != "" {
return s.findIn(s.baseSymbols, append([]string{sym.Type}, selectors[1:]...))
}
Expand Down

0 comments on commit 0fefd8e

Please sign in to comment.