commit | c406de0594782b1d6782a732a50f5b76387852dc | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Sun Feb 14 18:59:07 2021 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Feb 16 21:00:20 2021 +0000 |
tree | 083773320a11ad85e677d566d5491724d43cbd89 | |
parent | 4a0fd901b7bf096396d2670abd8a180c63099b9d [diff] |
compiler: unalias receiver type in export data Test case is https://golang.org/cl/292009. Change-Id: I21cc1f4040bf283bc6d376ec026bdd216d915d58 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/291991 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
diff --git a/go/gogo.cc b/go/gogo.cc index 62b06be..38a2f6f 100644 --- a/go/gogo.cc +++ b/go/gogo.cc
@@ -5898,7 +5898,7 @@ exp->write_name(receiver->name()); exp->write_escape(receiver->note()); exp->write_c_string(" "); - exp->write_type(receiver->type()); + exp->write_type(receiver->type()->unalias()); exp->write_c_string(") "); }