From 17d0fe57ecdbca844bc45f84b12aba2149b7e93f Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Tue, 25 Oct 2016 11:08:46 -0400 Subject: [PATCH] go/gccgoexportdata: lost edits from review of CL 31822 Change-Id: I4d1eb36c2da5c7ad51989a1c9ab09b03019fd8f0 Reviewed-on: https://go-review.googlesource.com/31971 Reviewed-by: Alan Donovan --- go/gccgoexportdata/gccgoexportdata.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/go/gccgoexportdata/gccgoexportdata.go b/go/gccgoexportdata/gccgoexportdata.go index d850f15a..7d276c75 100644 --- a/go/gccgoexportdata/gccgoexportdata.go +++ b/go/gccgoexportdata/gccgoexportdata.go @@ -5,9 +5,9 @@ // Package gccgoexportdata provides functions for reading export data // files containing type information produced by the gccgo compiler. // -// This package is a stop-gap until gccgo uses the same export data -// format as gc. Once that occurs, this package will be deprecated and -// eventually deleted. +// This package is a stop-gap until such time as gccgo uses the same +// export data format as gc; see Go issue 17573. Once that occurs, this +// package will be deprecated and eventually deleted. package gccgoexportdata // TODO(adonovan): add Find, Write, Importer to the API, @@ -117,6 +117,6 @@ func firstSection(a []byte) ([]byte, error) { // resulting package into this map entry. // // On return, the state of the reader is undefined. -func Read(in io.Reader, fset *token.FileSet, imports map[string]*types.Package, path string) (*types.Package, error) { +func Read(in io.Reader, _ *token.FileSet, imports map[string]*types.Package, path string) (*types.Package, error) { return gccgoimporter.Parse(in, imports, path) }