]> Cypherpunks repositories - gostls13.git/commit
gc: fix package quoting logic
authorRuss Cox <rsc@golang.org>
Wed, 29 Jun 2011 03:58:35 +0000 (23:58 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 29 Jun 2011 03:58:35 +0000 (23:58 -0400)
commitff4518da17a7362094a58ecc54872b36ea7cc987
tree71486b7ed92589ddbeee399e17e67bee769c75ee
parent3a52cf56f85a83b31b474d56b15aad1301c5569c
gc: fix package quoting logic

The decision for when to say "hash/crc32".New instead of
crc32.New in an error was double-counting imports
from different packages or indirect imports, so it was
quoting even when there was no ambiguity.

R=ken2
CC=golang-dev
https://golang.org/cl/4645070
src/cmd/gc/go.y