compiler: omit field name for embedded fields in reflection string
commitc414a0dc5c00f3d8f38844ea9f0f020f31d15de9
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Feb 2018 15:54:04 +0000 (1 15:54 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Feb 2018 15:54:04 +0000 (1 15:54 +0000)
tree2ce98ab8a911ab2b8b2fadad8a9e68096c4b9c8a
parentaf255290d2a86faa14b78ed97da535402ba70d1e
compiler: omit field name for embedded fields in reflection string

    This matches the gc compiler.

    The test case was sent for the master repo as
    https://golang.org/cl/91138.

    Fixes golang/go#23620

    Reviewed-on: https://go-review.googlesource.com/91139

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257300 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc
libgo/go/reflect/all_test.go