[go-nuts] Re: golang.org/x/tools/go/loader: file names of parsed *ast.File

2016-08-15 Thread adonovan via golang-nuts
On Saturday, 13 August 2016 22:27:42 UTC+1, Paul Jolly wrote: > > On Saturday, 13 August 2016 21:58:37 UTC+1, Paul Jolly wrote: >> >> Am I missing something obvious here? >> > > Please excuse the reply to self, but I have discovered what I was missing. > > For the sake of completeness, here is how

[go-nuts] Re: golang.org/x/tools/go/loader: file names of parsed *ast.File

2016-08-13 Thread Paul Jolly
On Saturday, 13 August 2016 21:58:37 UTC+1, Paul Jolly wrote: > > Am I missing something obvious here? > Please excuse the reply to self, but I have discovered what I was missing. For the sake of completeness, here is how the equivalent mapping is achieved in golang.org/x/tools/go/loader world: