mirror of https://github.com/golang/go.git
Outgoing callhierarchy didn't handle different functions defined as field in a struct as separate functions since they were declared by the same AST node. This change adds the identifier name to the key, so that a function must share both declaration node and name to be considered "the same". Fixes golang/go#43456 Change-Id: Ifbced98f2e8fc3a303834f7cefbae66829b68d27 Reviewed-on: https://go-review.googlesource.com/c/tools/+/280618 Trust: Pontus Leitzler <leitzler@gmail.com> Run-TryBot: Pontus Leitzler <leitzler@gmail.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| incoming | ||
| outgoing | ||
| callhierarchy.go | ||