mirror of
https://github.com/golang/go
synced 2024-10-01 01:48:32 -06:00
59e73619c7
This change improves our approach to handling type aliases. Previously, we were not fully qualifying the names in the AST, making the code inserted in completions incorrect at times. Now, we clone the relevant AST expr and qualify it. We also add handling for the return values of a function, instead of just the parameters. Fixes golang/go#38230 Fixes golang/go#37283 Change-Id: Ib79f4636891c9b610ae848e9fa4dbae7c63db509 Reviewed-on: https://go-review.googlesource.com/c/tools/+/229319 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
tests_cgo.go | ||
tests.go | ||
util.go |