This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r201951 - in /trunk/gcc/go/gofrontend: types.cc...
- From: ian at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 23 Aug 2013 21:04:41 -0000
- Subject: r201951 - in /trunk/gcc/go/gofrontend: types.cc...
Author: ian
Date: Fri Aug 23 21:04:40 2013
New Revision: 201951
URL: http://gcc.gnu.org/viewcvs?rev=201951&root=gcc&view=rev
Log:
compiler: don't export embedded builtins.
The panic in test/fixedbugs/bug461.go was caused by the fact that
reflect expects unexported fields in a struct to have a valid
package path. If a struct field is an embedded built-in type, it is
now given the package name of the currently compiling package, so it
remains unexported for purposes of reflect.
Fixed Issue 25.
Modified:
trunk/gcc/go/gofrontend/types.cc
trunk/gcc/go/gofrontend/types.h