compiler: Fix fieldtrack info for unexported type.

From-SVN: r193985
This commit is contained in:
Ian Lance Taylor 2012-11-30 07:04:47 +00:00
parent 44bae513cd
commit df9471b68d
1 changed files with 1 additions and 1 deletions

View File

@ -10621,7 +10621,7 @@ Field_reference_expression::do_lower(Gogo* gogo, Named_object* function,
s.append(nt->named_object()->package()->pkgpath());
s.push_back('.');
if (nt != NULL)
s.append(nt->name());
s.append(Gogo::unpack_hidden_name(nt->name()));
s.push_back('.');
s.append(field->field_name());
s.push_back('"');