Commit eda684e6 by Ian Lance Taylor

compiler: don't use pkgpath for fieldtrack of unexported field

    
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/191040

From-SVN: r274803
parent 7f8c0c05
7da359f4659fffff051c05ff442037cfa61febd5
82d27f0f140f33406cf59c0fb262f6dba3077f8e
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
......@@ -13795,7 +13795,7 @@ Field_reference_expression::do_lower(Gogo* gogo, Named_object* function,
if (nt != NULL)
s.append(Gogo::unpack_hidden_name(nt->name()));
s.push_back('.');
s.append(field->field_name());
s.append(Gogo::unpack_hidden_name(field->field_name()));
s.push_back('"');
// We can't use a string here, because internally a string holds a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment