compiler: track //go:nointerface in export data
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 9 Feb 2018 19:39:14 +0000 (19:39 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 9 Feb 2018 19:39:14 +0000 (19:39 +0000)
commit8221fb01d690820cb4e9fe4a8b4e33ddcf686029
treea02a65515fd99462d3424ce0a5dda6b342833b75
parent0444aa9c0a3357707624263ec2fd13d8f156016e
compiler: track //go:nointerface in export data

    The magic //go:nointerface comment, used for field tracking, was only
    implemented for conversions to interface types in the same package.
    Record it in the export data, so that it works as expected for types
    imported from a different package.

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

From-SVN: r257540
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/import.cc
gcc/go/gofrontend/types.cc