diff options
| author | Alan Donovan <adonovan@google.com> | 2016-11-04 17:11:51 -0400 |
|---|---|---|
| committer | Alan Donovan <adonovan@google.com> | 2016-11-04 21:44:57 +0000 |
| commit | 2c6949ec89817caecbb441422fe1d6729ee16462 (patch) | |
| tree | a291637e3752983186d86b15e407ec46ca1e08c3 /src/plugin/plugin.go | |
| parent | cfd89164bb6af2d1a660b75ded8c0801372924e2 (diff) | |
| download | go-2c6949ec89817caecbb441422fe1d6729ee16462.tar.xz | |
go/types: avoid redundant call to recordUse for anonymous fields
Anonymous fields are type expressions, and Checker.typexpr already
correctly records uses within them. There's no need for a second
call, and the second call caused a bug when we implemented aliases.
Change-Id: I1bf2429cd4948d68b085e75dfb1bdc03ad8caffd
Reviewed-on: https://go-review.googlesource.com/32837
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/plugin/plugin.go')
0 files changed, 0 insertions, 0 deletions
