mirror of
https://github.com/golang/go
synced 2024-11-18 18:34:40 -07:00
go/loader: minor comment fix.
TBR=gri R=gri CC=golang-codereviews https://golang.org/cl/157970043
This commit is contained in:
parent
4ada33969d
commit
efd8523ea7
@ -428,7 +428,7 @@ func (conf *Config) ImportWithTests(path string) error {
|
||||
xtestFiles, errs := conf.parsePackageFiles(bp, 'x')
|
||||
if len(errs) > 0 {
|
||||
// TODO(adonovan): fix: parse errors in x_test.go files
|
||||
// are still catastrophic to Load().
|
||||
// cause FromArgs() to fail completely.
|
||||
return errs[0] // I/O or parse error
|
||||
}
|
||||
if len(xtestFiles) > 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user