]> Cypherpunks repositories - gostls13.git/commit
cmd/go: silence standard imports non-standard error for non-existent import target
authorRuss Cox <rsc@golang.org>
Tue, 9 Feb 2016 03:50:17 +0000 (22:50 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 9 Feb 2016 20:36:06 +0000 (20:36 +0000)
commit97572d5552699fbc7cce215f83d7b02265e7f1de
treea87148635dd183b132287a39a60da30942e26dcc
parent6a208efbdfa939dc236a63383df19c7ab44aa50a
cmd/go: silence standard imports non-standard error for non-existent import target

This error only affects the compilation of the standard library,
but I discovered that if you import "notexist" from the standard
library then you get both an error about notexist not existing
and an error about notexist being a non-standard package
(because the non-existant package is in fact not a standard package).
Silence the second error.

Change-Id: Ib4c1523e89844260fde90de3459ec1e752df8f25
Reviewed-on: https://go-review.googlesource.com/19383
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/pkg.go