go/gccgoexportdata: lost edits from review of CL 31822
Change-Id: I4d1eb36c2da5c7ad51989a1c9ab09b03019fd8f0 Reviewed-on: https://go-review.googlesource.com/31971 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
5e7fa1cbaa
commit
17d0fe57ec
|
@ -5,9 +5,9 @@
|
||||||
// Package gccgoexportdata provides functions for reading export data
|
// Package gccgoexportdata provides functions for reading export data
|
||||||
// files containing type information produced by the gccgo compiler.
|
// files containing type information produced by the gccgo compiler.
|
||||||
//
|
//
|
||||||
// This package is a stop-gap until gccgo uses the same export data
|
// This package is a stop-gap until such time as gccgo uses the same
|
||||||
// format as gc. Once that occurs, this package will be deprecated and
|
// export data format as gc; see Go issue 17573. Once that occurs, this
|
||||||
// eventually deleted.
|
// package will be deprecated and eventually deleted.
|
||||||
package gccgoexportdata
|
package gccgoexportdata
|
||||||
|
|
||||||
// TODO(adonovan): add Find, Write, Importer to the API,
|
// 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.
|
// resulting package into this map entry.
|
||||||
//
|
//
|
||||||
// On return, the state of the reader is undefined.
|
// 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)
|
return gccgoimporter.Parse(in, imports, path)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue