This fixes the problem I was having using gen from Go 1.6, for which I filed under https://github.com/clipperhouse/gen/issues/98 -- The problem seems to be that the usage of go/types has changed since 1.5, and this fixes the usage to align with go 1.6.
It's a small, 3-line change, but I'm open for comments on it. :)
This fixes the problem I was having using gen from Go 1.6, for which I filed under https://github.com/clipperhouse/gen/issues/98 -- The problem seems to be that the usage of go/types has changed since 1.5, and this fixes the usage to align with go 1.6.
It's a small, 3-line change, but I'm open for comments on it. :)