Go patch committed: Let test import package that imports tested pkg
1 view
Skip to first unread message
Ian Lance Taylor
unread,
Feb 10, 2013, 1:02:41 AM2/10/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gcc-p...@gcc.gnu.org, gofront...@googlegroups.com
This patch to gccgo lets a test of package P1 import a package P2 where
P2 itself imports P1. gccgo was giving an error for this kind of
import. That can be useful in detecting a failure to rebuild a package
that depends on some other package, but it prevented this useful
behaviour. So I removed the check. This in turn let me revert some
gccgo-specific changes to libgo. Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu. Committed to mainline.