]> Cypherpunks repositories - gostls13.git/commit
cmd/go: log compilation errors when scanning directories and packages
authorRob Pike <r@golang.org>
Wed, 26 Jun 2013 17:48:04 +0000 (10:48 -0700)
committerRob Pike <r@golang.org>
Wed, 26 Jun 2013 17:48:04 +0000 (10:48 -0700)
commit53a00e2812891b2a3c91aaa6a12ac89c74ad42ea
tree960935aa08b0950877587f9a54c3a17c0fa89f17
parent15790204768b9cbea056150e530d4c39d2e62b47
cmd/go: log compilation errors when scanning directories and packages
Before, some packages disappear silently if the package cannot be imported,
such as if the import statement is unparseable.
Before:
        % ls src
        foo   issue
        % go list ./...
        _/home/r/bug/src/foo
        %
After:
        % go list ./...
        src/issue/issue.go:3:5: expected 'STRING', found newline
        _/home/r/bug/src/foo
        %

R=rsc
CC=golang-dev
https://golang.org/cl/10568043
src/cmd/go/main.go