Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/go/loader: tests fail at tip #17418

Closed
bradfitz opened this issue Oct 12, 2016 · 1 comment
Closed

x/tools/go/loader: tests fail at tip #17418

bradfitz opened this issue Oct 12, 2016 · 1 comment
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@bradfitz
Copy link
Contributor

@griesemer, @alandonovan ....

bradfitz@dev-bradfitz:~/src/golang.org/x/tools$ go test  -short ./go/loader  
cannot find package "nosuchpkg" in any of:  
        /home/bradfitz/go/src/nosuchpkg (from $GOROOT)  
        /home/bradfitz/src/nosuchpkg (from $GOPATH)  
cannot find package "nosuchpkg" in any of:  
        /home/bradfitz/go/src/nosuchpkg (from $GOROOT)  
        /home/bradfitz/src/nosuchpkg (from $GOPATH)  
open missing.go: no such file or directory  
open missing.go: no such file or directory  
testdata/badpkgdecl.go:1:34: expected 'package', found 'EOF'  
testdata/badpkgdecl.go:1:34: expected 'package', found 'EOF'  
/go/src/b/x.go:1:21: could not import c (cannot find package "c" in any of:  
        /go/src/c (from $GOROOT)  
        ($GOPATH not set. For more details see: 'go help gopath'))  
/go/src/b/x.go:1:21: could not import c (cannot find package "c" in any of:  
        /go/src/c (from $GOROOT)  
        ($GOPATH not set. For more details see: 'go help gopath'))  
/go/src/b/x.go:1:21: could not import c (/go/src/c/x.go:1:8: expected 'IDENT', found 'EOF')  
/go/src/c/x.go:1:20: expected operand, found 'EOF'  
cannot find package "two/three" in any of:  
        /go/src/two/three (from $GOROOT)  
        ($GOPATH not set. For more details see: 'go help gopath')  
cannot find package "http" in any of:  
        /go/src/http (from $GOROOT)  
        ($GOPATH not set. For more details see: 'go help gopath')  
/go/src/c/x.go:1:31: cannot convert false (untyped bool constant) to int  
--- FAIL: ExampleConfig_CreateFromFilenames (0.70s)  
got:  
created: [container/heap]  
imported: []  
initial: [container/heap]  
all: [container/heap errors internal/race math reflect runtime runtime/internal/atomic runtime/internal/sys sort strconv sync sync/atomic unicode/utf8 unsafe]  
want:  
created: [container/heap]  
imported: []  
initial: [container/heap]  
all: [container/heap sort]  
FAIL  
FAIL    golang.org/x/tools/go/loader    5.288s  
@bradfitz bradfitz added the Testing An issue that has been verified to require only test changes, not just a test failure. label Oct 12, 2016
@bradfitz bradfitz added this to the Go1.8 milestone Oct 12, 2016
@quentinmit quentinmit added the NeedsFix The path to resolution is known, but the work has not been done. label Oct 12, 2016
@griesemer griesemer removed their assignment Oct 13, 2016
@alandonovan
Copy link
Contributor

@golang golang locked and limited conversation to collaborators Nov 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
None yet
Development

No branches or pull requests

5 participants