From eda684e6a77890bd5e13ceab99d95bc1e8439212 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 21 Aug 2019 17:19:52 +0000 Subject: [PATCH] compiler: don't use pkgpath for fieldtrack of unexported field Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/191040 From-SVN: r274803 --- gcc/go/gofrontend/MERGE | 2 +- gcc/go/gofrontend/expressions.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 29f5ec01637..5c0244662bc 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -7da359f4659fffff051c05ff442037cfa61febd5 +82d27f0f140f33406cf59c0fb262f6dba3077f8e The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/gcc/go/gofrontend/expressions.cc b/gcc/go/gofrontend/expressions.cc index 0cf1710d0c2..378dab57a69 100644 --- a/gcc/go/gofrontend/expressions.cc +++ b/gcc/go/gofrontend/expressions.cc @@ -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 -- 2.30.2