compiler: don't use pkgpath for fieldtrack of unexported field
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/191040 From-SVN: r274803
This commit is contained in:
parent
7f8c0c0504
commit
eda684e6a7
|
@ -1,4 +1,4 @@
|
||||||
7da359f4659fffff051c05ff442037cfa61febd5
|
82d27f0f140f33406cf59c0fb262f6dba3077f8e
|
||||||
|
|
||||||
The first line of this file holds the git revision number of the last
|
The first line of this file holds the git revision number of the last
|
||||||
merge done from the gofrontend repository.
|
merge done from the gofrontend repository.
|
||||||
|
|
|
@ -13795,7 +13795,7 @@ Field_reference_expression::do_lower(Gogo* gogo, Named_object* function,
|
||||||
if (nt != NULL)
|
if (nt != NULL)
|
||||||
s.append(Gogo::unpack_hidden_name(nt->name()));
|
s.append(Gogo::unpack_hidden_name(nt->name()));
|
||||||
s.push_back('.');
|
s.push_back('.');
|
||||||
s.append(field->field_name());
|
s.append(Gogo::unpack_hidden_name(field->field_name()));
|
||||||
s.push_back('"');
|
s.push_back('"');
|
||||||
|
|
||||||
// We can't use a string here, because internally a string holds a
|
// We can't use a string here, because internally a string holds a
|
||||||
|
|
Loading…
Reference in New Issue