]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: improve error message for cross-package assembly
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 11 Jul 2016 22:20:43 +0000 (15:20 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 22 Aug 2016 15:42:45 +0000 (15:42 +0000)
commitf410a668ee3f0a5c71e4d9d0bda83b826246ab5d
treea08de87e26ce0312c47c87d1c55b9a242b051f30
parent0952a15cd17755c655910e4b2601d0f255d71c42
cmd/vet: improve error message for cross-package assembly

bytes.Compare has its go prototype in package bytes,
but its implementation in package runtime.
vet used to complain that the prototype was missing.
Now instead:

runtime/asm_amd64.s:1483: [amd64] cannot check cross-package assembly function: Compare is in package bytes

Updates #11041

Change-Id: Ied44fac10d0916d7a34e552c02d052e16fca0c8c
Reviewed-on: https://go-review.googlesource.com/27153
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/vet/asmdecl.go