]> Cypherpunks repositories - gostls13.git/commit
go/types: use new importer.ForCompiler for gotype command
authorRobert Griesemer <gri@golang.org>
Tue, 4 Dec 2018 18:17:33 +0000 (10:17 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 4 Dec 2018 18:23:40 +0000 (18:23 +0000)
commit7114e9997b8f5975bea544cb6f7b85b1cdb4c8ef
tree275a495ff967a813ae5df847235e6abb5c24f076
parent159797a5fc561b6881faf2656e330049fb11ef8c
go/types: use new importer.ForCompiler for gotype command

This will produce better error messages (position information)
for errors referring to imported objects.

Change-Id: I24646ae803e6b8f78e9240310a858d4095e9463d
Reviewed-on: https://go-review.googlesource.com/c/152538
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/types/gotype.go