go/types: adopt spec terminology, use 'embedded' rather then 'anonyous' field
Commit f8b41236 (https://go-review.googlesource.com/35108) adjusted the spec to uniformly use 'embedded' rather than 'anonymous' for struct embedded fields. Adjust go/types' internal terminology. Provide an additional accessor Var.IsEmbedded(). This is essentially a rename of an internal field and adjustments of documentation. Change-Id: Icd07aa192bc5df7a2ee103185fa7e9c55e8f1ac3 Reviewed-on: https://go-review.googlesource.com/112716 Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by:Alan Donovan <adonovan@google.com>
Showing
Please register or sign in to comment