diff options
author | Ian Lance Taylor <iant@golang.org> | 2020-08-27 22:18:45 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-09-21 15:53:48 -0700 |
commit | 27edc6c3e296a3eea15be291b1f605a647e94107 (patch) | |
tree | c6e4455454a14fbbb33edc4c31d941cd9c0797eb /libgo | |
parent | 1e19ecd79b45af6df87a6869d1936b857c9f71fc (diff) | |
download | gcc-27edc6c3e296a3eea15be291b1f605a647e94107.zip gcc-27edc6c3e296a3eea15be291b1f605a647e94107.tar.gz gcc-27edc6c3e296a3eea15be291b1f605a647e94107.tar.bz2 |
compiler: finalize methods for type aliases of struct types
Previously we would finalize the methods of the alias type itself, but
since its a type alias we really need to finalize the methods of the
aliased type.
Also, handle method expressions of unnamed struct types.
Test case is https://golang.org/cl/251168.
Fixes golang/go#38125
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/251279
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions