clipperhouse / typewriter

The package underlying gen: type-driven code generation for Go
http://clipperhouse.github.io/gen/typewriters/#
Other
52 stars 20 forks source link

Fix type resolution under Go 1.6-compiled gen programs. #18

Closed AmandaCameron closed 8 years ago

AmandaCameron commented 8 years ago

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. :)

clipperhouse commented 8 years ago

Thanks!