* Go patch committed: Fix fieldtrack info for unexported type
@ 2012-11-30 8:44 Ian Lance Taylor
0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2012-11-30 8:44 UTC (permalink / raw)
To: gcc-patches, gofrontend-dev
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
This patch to the Go frontend fixes the fieldtrack info emitted for an
unexported type. Bootstrapped on x86_64-unknown-linux-gnu. Committed
to mainline.
Ian
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-diff, Size: 426 bytes --]
diff -r 0a58667fb9cd go/expressions.cc
--- a/go/expressions.cc Thu Nov 29 09:34:24 2012 -0800
+++ b/go/expressions.cc Thu Nov 29 22:55:58 2012 -0800
@@ -10621,7 +10621,7 @@
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('"');
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-30 7:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-30 8:44 Go patch committed: Fix fieldtrack info for unexported type Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).