compiler: Report unnamed receiver types.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 14 Aug 2015 17:26:27 +0000 (17:26 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 14 Aug 2015 17:26:27 +0000 (17:26 +0000)
commit624c7bbf6ccacf79c67279587dd8cf552b2ec93a
tree21245a8a21af63dbcdd8b3fff3ddbc2c5e7b305b
parente37dcf4530a0801513792535629542f50110b198
compiler: Report unnamed receiver types.

    gccgo used to crash when presented with an invalid receiver type in a
    method.  Instead, unnamed receiver types should report an error.

    Fixes golang/go#11557.

    Reviewed-on: https://go-review.googlesource.com/13245

From-SVN: r226899
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc