Commit 63e48ccd authored by Robert Griesemer's avatar Robert Griesemer

go/ast: trivial cleanup (remove superfluous string conversion)

R=iant, bradfitz
CC=golang-dev
https://golang.org/cl/5430059
parent 77b0ad1e
......@@ -113,7 +113,7 @@ func NewPackage(fset *token.FileSet, files map[string]*File, importer Importer,
importErrors = true
continue
}
path, _ := strconv.Unquote(string(spec.Path.Value))
path, _ := strconv.Unquote(spec.Path.Value)
pkg, err := importer(imports, path)
if err != nil {
p.errorf(spec.Path.Pos(), "could not import %s (%s)", path, err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment