compiler: omit field name for embedded fields in reflection string
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 1 Feb 2018 15:54:04 +0000 (15:54 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 1 Feb 2018 15:54:04 +0000 (15:54 +0000)
commit4d0bf3e1e184f78d4a2716245aa963aef0e918cf
tree2ce98ab8a911ab2b8b2fadad8a9e68096c4b9c8a
parentfc876f22b348202addb9294a6fe8570cdbfa1753
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

From-SVN: r257300
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc
libgo/go/reflect/all_test.go