]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: emit better error for duplicated definition
authorCherry Zhang <cherryyz@google.com>
Sat, 1 May 2021 00:53:14 +0000 (20:53 -0400)
committerCherry Zhang <cherryyz@google.com>
Sat, 1 May 2021 19:17:47 +0000 (19:17 +0000)
commit053fe2f485fa1fd191f079cdc4a32f33761e38e4
tree597194f7b185b3cd57fdd774972f6e3c5fff5b3b
parentd7473fd9076a978352d3bb29c13464c3c17d46c3
cmd/link: emit better error for duplicated definition

Print the packages where the duplicates come from.

Change-Id: Ib3dc9aa0a3f5ddd97b03744be6d01d4bfcb33996
Reviewed-on: https://go-review.googlesource.com/c/go/+/315949
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/loader/loader.go