| Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 Path : /opt/golang/1.22.0/src/cmd/go/testdata/script/ |
| Current File : //opt/golang/1.22.0/src/cmd/go/testdata/script/mod_get_issue60490.txt |
# Regression test for https://go.dev/issue/60490: 'go get' should not cause an # infinite loop for cycles introduced in the pruned module graph. go get example.net/c@v0.1.0 -- go.mod -- module example go 1.19 require ( example.net/a v0.1.0 example.net/b v0.1.0 ) replace ( example.net/a v0.1.0 => ./a1 example.net/a v0.2.0 => ./a2 example.net/b v0.1.0 => ./b1 example.net/b v0.2.0 => ./b2 example.net/c v0.1.0 => ./c1 ) -- a1/go.mod -- module example.net/a go 1.19 -- a2/go.mod -- module example.net/a go 1.19 require example.net/b v0.2.0 -- b1/go.mod -- module example.net/b go 1.19 -- b2/go.mod -- module example.net/b go 1.19 require example.net/a v0.2.0 -- c1/go.mod -- module example.net/c go 1.19 require example.net/a v0.2.0