commit | 9476f6183791477dd9b883f51e2a46b224227735 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Mon Apr 29 11:27:17 2019 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Mon Apr 29 18:55:47 2019 +0000 |
tree | 51eacd880a4c4fd7eb303b64163d17df5cab7cdc | |
parent | b117b468264665cfe6ec2cf3affb48330a704fa7 [diff] |
compiler: avoid crash on real declaration of type with existing method This avoids a compiler crash on invalid code. Fixes https://gcc.gnu.org/PR90272 Change-Id: I6625b868e448d59ca814056fe9159040c7095e04 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/174377 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>