]> Cypherpunks.ru repositories - gostls13.git/commitdiff
test: use dot-relative imports where appropriate
authorMatthew Dempsky <mdempsky@google.com>
Wed, 23 Mar 2022 22:09:31 +0000 (15:09 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 24 Mar 2022 02:14:15 +0000 (02:14 +0000)
Currently, run.go's *dir tests allow "x.go" to be imported
interchangeably as either "x" or "./x". This is generally fine, but
can cause problems when "x" is the name of a standard library
package (e.g., "fixedbugs/bug345.dir/io.go").

This CL is an automated rewrite to change all `import "x"` directives
to use `import "./x"` instead. It has no effect today, but will allow
subsequent CLs to update test/run.go to resolve "./x" to "test/x" to
avoid stdlib collisions.

Change-Id: Ic76cd7140e83b47e764f8a499e59936be2b3c876
Reviewed-on: https://go-review.googlesource.com/c/go/+/395116
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
95 files changed:
test/closure5.dir/main.go
test/fixedbugs/bug222.dir/chanbug2.go
test/fixedbugs/bug302.dir/main.go
test/fixedbugs/issue11053.dir/p_test.go
test/fixedbugs/issue22962.dir/b.go
test/fixedbugs/issue23179.dir/b.go
test/fixedbugs/issue31252.dir/c.go
test/fixedbugs/issue31252.dir/main.go
test/fixedbugs/issue31636.dir/main.go
test/fixedbugs/issue31959.dir/main.go
test/fixedbugs/issue32595.dir/main.go
test/fixedbugs/issue33013.dir/b.go
test/fixedbugs/issue33013.dir/c.go
test/fixedbugs/issue33013.dir/d.go
test/fixedbugs/issue33020.dir/b.go
test/fixedbugs/issue33158.dir/b.go
test/fixedbugs/issue33219.dir/c.go
test/fixedbugs/issue33739.dir/b.go
test/fixedbugs/issue34503.dir/b.go
test/fixedbugs/issue34577.dir/b.go
test/fixedbugs/issue35586.dir/b.go
test/fixedbugs/issue36085.dir/b.go
test/fixedbugs/issue45503.dir/b.go
test/fixedbugs/issue47068.dir/main.go
test/fixedbugs/issue47087.dir/main.go
test/fixedbugs/issue48088.dir/b.go
test/fixedbugs/issue5910.dir/main.go
test/fixedbugs/issue7648.dir/b.go
test/fixedbugs/issue8060.dir/b.go
test/typeparam/absdiffimp2.dir/main.go
test/typeparam/aliasimp.dir/main.go
test/typeparam/chansimp.dir/main.go
test/typeparam/dedup.dir/b.go
test/typeparam/dedup.dir/c.go
test/typeparam/dedup.dir/main.go
test/typeparam/factimp.dir/main.go
test/typeparam/gencrawler.dir/main.go
test/typeparam/geninline.dir/main.go
test/typeparam/issue47514c.dir/main.go
test/typeparam/issue47775.dir/main.go
test/typeparam/issue47892.dir/main.go
test/typeparam/issue47892b.dir/main.go
test/typeparam/issue48094.dir/main.go
test/typeparam/issue48185a.dir/p_test.go
test/typeparam/issue48185b.dir/main.go
test/typeparam/issue48280.dir/main.go
test/typeparam/issue48306.dir/main.go
test/typeparam/issue48337a.dir/main.go
test/typeparam/issue48337b.dir/main.go
test/typeparam/issue48454.dir/b.go
test/typeparam/issue48454.dir/main.go
test/typeparam/issue48462.dir/main.go
test/typeparam/issue48716.dir/main.go
test/typeparam/issue48962.dir/b.go
test/typeparam/issue49027.dir/main.go
test/typeparam/issue49241.dir/b.go
test/typeparam/issue49241.dir/c.go
test/typeparam/issue49241.dir/main.go
test/typeparam/issue49497.dir/main.go
test/typeparam/issue49524.dir/main.go
test/typeparam/issue49659.dir/b.go
test/typeparam/issue49667.dir/b.go
test/typeparam/issue49667.dir/main.go
test/typeparam/issue49893.dir/b.go
test/typeparam/issue49893.dir/main.go
test/typeparam/issue50121.dir/main.go
test/typeparam/issue50121b.dir/b.go
test/typeparam/issue50121b.dir/c.go
test/typeparam/issue50121b.dir/d.go
test/typeparam/issue50121b.dir/main.go
test/typeparam/issue50481b.dir/main.go
test/typeparam/issue50481c.dir/main.go
test/typeparam/issue50485.dir/main.go
test/typeparam/issue50486.dir/main.go
test/typeparam/issue50552.dir/main.go
test/typeparam/issue50561.dir/main.go
test/typeparam/issue50598.dir/a1.go
test/typeparam/issue50598.dir/a2.go
test/typeparam/issue50598.dir/main.go
test/typeparam/issue50841.dir/b.go
test/typeparam/issue51219.dir/main.go
test/typeparam/issue51367.dir/main.go
test/typeparam/listimp.dir/main.go
test/typeparam/listimp2.dir/main.go
test/typeparam/mapimp.dir/main.go
test/typeparam/mapsimp.dir/main.go
test/typeparam/mincheck.dir/main.go
test/typeparam/minimp.dir/main.go
test/typeparam/orderedmapsimp.dir/main.go
test/typeparam/pairimp.dir/main.go
test/typeparam/recoverimp.dir/main.go
test/typeparam/setsimp.dir/main.go
test/typeparam/sliceimp.dir/main.go
test/typeparam/stringerimp.dir/main.go
test/typeparam/valimp.dir/main.go

index ee5dba648156ce0e084fd0dd6f63b423cff3eb9b..30b378495bad5108b270522eca81553fb83b1091 100644 (file)
@@ -6,7 +6,7 @@
 // that are expected to be inlined
 package main
 
-import "a"
+import "./a"
 
 func main() {
        if !a.G()()() {
index 109581dc30380bbcf6d4e467351d0436a935fcbd..b6c416f83458d71b9930d05211ca712f66d034d1 100644 (file)
@@ -3,4 +3,5 @@
 // license that can be found in the LICENSE file
 
 package Bar
-import _ "chanbug"
+
+import _ "./chanbug"
index 52c054fb4c663339ff153569477a56d345f5f488..21b7722a0a1c7c30c356489582fef43ddf9e667b 100644 (file)
@@ -5,8 +5,7 @@
 package main
 
 // Check that the export information is correct in p.6.
-import _ "p"
+import _ "./p"
 
 // Check that it's still correct in pp.a (which contains p.6).
 import _ "pp"
-
index 542c2a349e5ef7314947edd41315a1bd16eebdac..412352d7c5e1f36026ef84600a8a8763653d3cbb 100644 (file)
@@ -5,8 +5,8 @@
 package main
 
 import (
+       "./p"
        "fmt"
-       "p"
 )
 
 type I interface {
index e1568c8fe9b3233fab04143d8070383cba2fe60e..4937ef577f37d5fb3b91908756c28d2400735681 100644 (file)
@@ -4,6 +4,6 @@
 
 package b
 
-import "a"
+import "./a"
 
 var V = func() { a.F() }
index bec3d15e1e1f5c24497a1a9be8bc370e4c9d3f7e..4bde498cd8713a4271e3fcfcc6099ff901be7af1 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 func G(x int) int {
        return a.F(x, 1, false, a.Large{})
index 928c8eee1cde60c33cd0ddf52d2945aa042f7f37..98ecf6117720c6d115ccbe2d75ea3a23aa74df8a 100644 (file)
@@ -5,8 +5,8 @@
 package c
 
 import (
-       "a"
-       "b"
+       "./a"
+       "./b"
 )
 
 type HandlerFunc func(*string)
index 25a7548668897ef789580ce0c0251c651e489ada..6c0c9ce5d2c380029ab9cedd19c947069ee88d9e 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "c"
+import "./c"
 
 func main() {
        c.RouterInit()
index d8ae902c64c0a98f5cd3fff10fa69505b912f77d..bbc58369d3fcd6b640c682a2ac0ea679125ade5b 100644 (file)
@@ -9,11 +9,11 @@ package main
 // 1.13. For 1.14, we will move to a variant of lexicographic ordering
 // which will require a change to the test output of this test.
 import (
-       _ "c"
+       _ "./c"
 
-       _ "b"
+       _ "./b"
 
-       _ "a"
+       _ "./a"
 )
 
 func main() {
index 895c4e5345773e822b4d6533746f6c4d003585f3..6604e3abbdaa4c9d44ace2cc8a691bb15bef7f71 100644 (file)
@@ -12,7 +12,7 @@ package main
 import (
        "fmt"
 
-       "a"
+       "./a"
 )
 
 func main() {
index 20472cd72a4a53605b2f5489302f2215aeb9a0cf..979efe3a910fec6d8e8b4778605dbdaaad8d3010 100644 (file)
@@ -5,8 +5,8 @@
 package main
 
 import (
-       "a"
-       "b"
+       "./a"
+       "./b"
 )
 
 func main() {
index 5694b58282c5451311256a483a363ad8b1cfc59e..a8f5cc0650551d98a762e1751d91f24a2e719fd7 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 type Service uint64
 type ServiceDesc struct {
index bfdc0b535fe543031ee83d978915c1c4c6668df5..74425dfaae10fd77860b6ecc10d7e25ac7519af8 100644 (file)
@@ -5,8 +5,8 @@
 package c
 
 import (
-       "a"
-       "b"
+       "./a"
+       "./b"
 )
 
 type BI interface {
index f4fff4ac62a29961c597c67cad95c2d2aa53719b..c70c6647e8ccb4ae08d6dd4581548694549113f9 100644 (file)
@@ -5,8 +5,8 @@
 package d
 
 import (
-       "b"
-       "c"
+       "./b"
+       "./c"
 )
 
 var GA b.Service
index 354ab3ebfe66e914b3e062e96aef1e85cafb8bc9..14a2a87041e0d869ac814210cdc3f41e5eff5e67 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 var N n
 
index a16f0da600e3a49d192099845ffbd5060760ab45..4174b417ec174f9cbde3457b6fbf679a09300c0e 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 func B() string {
        return a.M()
index ece48d76031da39347e3fd7508142945dcaf013e..a78fe69a9e948d2bcbcc78aab948b4f45019a794 100644 (file)
@@ -5,8 +5,8 @@
 package c
 
 import (
-       "a"
-       "b"
+       "./a"
+       "./b"
 )
 
 type BI interface {
index caca1ec686e252e7ed3e6467925066a7a470d1fd..d22fe34d668d97c1f69c1359a05dc8cb911ff2c7 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 func main() {
        a.F()()
index 21bdfcc1b50cfddc60bf5ede5681ef25be297fcc..7ea02511b06e78d721781297352e6dfc99fd120a 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 func Bfunc() {
        a.Hook(101)
index bbcd1af5179cd0c5e1690b89c3677d00368c43e7..c61d7da78209709f7464924e49fa8b692dadc7bb 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 type B struct {
        s string
index e8b674fe30a9614a3108d20efd9a4178a479f1a4..e0abb99fd41cb91d10666e9e663107e92435519b 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 func F(addr string) (uint64, string) {
        return a.D(addr, 32)
index c5ee26970a7caa9495574140e8686d837ce63d07..0ebfe9fb6107d24e32c7c04d45df85c29901499c 100644 (file)
@@ -1,6 +1,6 @@
 package main
 
-import "a"
+import "./a"
 
 var w a.W
 var X interface{} = &w
index df4877a882786d0854a26575917bcbf7e2a2a182..530c394eaf9d73225aae163a6bf7294e67d8cbb7 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 func F() {
        s := a.S{}
index 16ef5b780b9f8d4648e04aaf09958d908f3f2946..411e7db10382dcd6b3afe57b815269edf51a0e3b 100644 (file)
@@ -5,8 +5,8 @@
 package main
 
 import (
-       "a"
-       "b"
+       "./a"
+       "./b"
 )
 
 func main() {
index ccd0891a61a8abaf61ad0b9b13f751b1539dc3bd..16c1cc616d09bb16cf566621c71c8586c59f64e2 100644 (file)
@@ -5,8 +5,8 @@
 package main
 
 import (
-       "a"
-       "b"
+       "./a"
+       "./b"
 )
 
 func main() {
index 221f2dde2a0451376b4ce626bbd26fb81f750138..bdb1bb55c2d59ca94de267074fe80972b9bdda27 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 func F() {
        a.F()
index c5d42ea0986e860a35836f1b9c201e3e11255608..80ddfbbca3641a378951dbe4242b31a8076c7283 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 func main() {
        f := new(a.Future)
index b9223ed4e3aa43c4234dcd74a2df2518786b4e65..7b336025ae47d8b4846ff5d640849ff36c350b21 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 func f() {
        println(a.A)
index 85fb6ec7db7398aeb5e3a9c20e7d413256c1894e..fc7eb251d0bc1d408b7c7e39434c452eda090f5d 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 var X = a.A
 
index 8eefdbdf384939cc8dba4ca7307fc183c4f04491..1519da091bcbd47334c1a29a5cf0826e2d0212e4 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
 )
 
index 24ce95472f4ab4c2f041730b07b08c74f7186f0a..39c29fc74cdbe217e3afe6823c8262b82928806d 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 type R[T any] struct {
        F T
index ca2716759824988ecaccaff3b37af90390257bc0..a380a3c7e4472a9ff53d660f6d3af18977c5ef81 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "context"
        "fmt"
        "runtime"
index ce037e2d8a3ebd0a9d9b1d862f20fe47a111aead..8507c6413770c97680fc9045fc2318dd736519ff 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 func B() {
        var x int64
index 11a5d97642be7ab5c4d4f9675b0faa50db9c2ccc..a1c950f1cb876dd92da4cb2daf8df628b461b4e9 100644 (file)
@@ -4,7 +4,7 @@
 
 package c
 
-import "a"
+import "./a"
 
 func C() {
        var x int64
index dc3ff6f75ffaeba8471026ea90af8387806b0945..920591b04fb3a8d981fa0ae767643fc359a8bb16 100644 (file)
@@ -5,8 +5,8 @@
 package main
 
 import (
-       "b"
-       "c"
+       "./b"
+       "./c"
 )
 
 func main() {
index c2238002aebf8e02b9e60e2a36ac0925706ffc5e..75e08da01acd81220c0108aa0815243eb3bd5711 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
 )
 
index 063de7f3503de848d287db496285fd4e689e4dd8..198d117df6274cba01a240b2faa3421a41b5014f 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 func main() {
        a.V.Print()
index 6dc36ba8af23828437551295ffcfdaaf6de13e24..cfc48859a3eac2ae60fcaa83fc60810bd24fc0b7 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 // Testing inlining of functions that refer to instantiated exported and non-exported
 // generic types.
index bc1166f761e5aa35107b68de8dfd48f272119acd..0ef423f68070690bef49343f66b6bf1b5a34fff5 100644 (file)
@@ -1,6 +1,6 @@
 package main
 
-import "a"
+import "./a"
 
 func Do[T any](doer a.Doer[T]) {
        doer.Do()
index ed284ddfc6d0807f944375dac5111c897d6bc8a6..5ec85a49d27575c6f0b9708db0657cabefbd2436 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "b"
+import "./b"
 
 func main() {
        b.New[int]()
index bd610d4ee68da4562b26bb74d93704fdd317e709..348e38b638cee4e967a2538acaefa9311012a634 100644 (file)
@@ -4,15 +4,15 @@
 
 package main
 
-import "a"
+import "./a"
 
 type Model[T any] struct {
-       index       a.Index[T]
+       index a.Index[T]
 }
 
 func NewModel[T any](index a.Index[T]) Model[T] {
        return Model[T]{
-               index:       index,
+               index: index,
        }
 }
 
index 70df4408af5fdbed05dcf96165a68db04efb0bea..3cd658f0e37627a5e689225e0018ba03ada2b160 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 type S[Idx any] struct {
        A string
index eb1ddbe2319898218328b750ff9ad791c863aed1..78337da9ef27fa1c3636ec5462bb1127c83e0386 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 func main() {
        if a.F[int64]() != 8 {
index 52c87a7e29760f6ff23aaae736d208b3bab39e3e..a89d69744c994d6705fd62b7c4d8fcbb247ceac9 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "p"
+import "./p"
 
 func main() {
        _ = p.MarshalFuncV1[int](func(int) ([]byte, error) { return nil, nil })
index 978e6ae5858e0686a9d3a341d08ecf3889a756c6..ea157f7d6d43199a4b3743bcea663844c84df61b 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
 )
 
index b9981c6f61a748c65b3e200ce66c1cc45a3862dc..2c8387dd429686cde5e7a0120f897bce211f4b0b 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 func main() {
        _ = a.S{}
index 5d602fe07ca7b9b03751b7d4bed83da1b4544213..260c3c87eb1dca1d1062ac9063eb7c98467a391a 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 type S struct{}
 
index 16f71153f3d0f6a237aa466dc4e19b39fa124994..ddf672414e65882827111c57ca9f5034f243a531 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 func main() {
        obj := a.NewWrapperWithLock("this file does import sync")
index 0b2814cbc0c6bd48105be6a43f14ca5ad40aec39..0318b67608730300291bd6cc8ec78bac570e614d 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 func main() {
        a.NewMetaContainer()
index 2b59b714b8eefb55b9c4450e0bb76dc69c600932..deb59d2ec84444b82389e4329e67e6038b2ab5bd 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 type Session struct {
        privateField a.Val[string]
index becb5f30247bfaed89b39057cebd0c317c04ae77..ad9d290a8a467bfc5513ff4eb2e7c8eda109f295 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "b"
+import "./b"
 
 func main() {
        var _ b.Session
index 8054ddd3277723eb2a83756fa089c3c956a9d0dc..e615367f3e2090ed9c0d56413df450851b060b6c 100644 (file)
@@ -8,7 +8,7 @@ import (
        "fmt"
        "reflect"
 
-       "a"
+       "./a"
 )
 
 func main() {
index adde0f5afe8410becd427a21f5583b4ab37e8232..13a126e8690662350a8f1422e566ec3de2afe932 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
 )
 
 // Creates copy of set
index a49f55de8d7795580db974807098a2f266459a50..e4eaa068197863a978486f5e25d7464916ce82b5 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 type (
        lA[P any]               [10]P
index aa20a2fdfbcec6f2b91ec4e6b90d19e79aa9eb7a..d998c5bd22a043ebf7a09aac8692a8053b88bbec 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
 )
 
index 45c1afbaf1570f9e64a6986358d4529d1801ed7f..e5f1e1290eb8ddd17ccf444e63cae7ba38c44c9a 100644 (file)
@@ -4,14 +4,14 @@
 
 package b
 
-import "a"
+import "./a"
 
 //go:noinline
-func F() interface {} {
+func F() interface{} {
        return a.T[int]{}
 }
 
 //go:noinline
 func G() interface{} {
-       return struct{X,Y a.U}{}
+       return struct{ X, Y a.U }{}
 }
index ea3bab2954480f2a652c4c76acd3489c85b55158..34ea7c3ffae86f2c17af762047fcdee613975d66 100644 (file)
@@ -4,14 +4,14 @@
 
 package c
 
-import "a"
+import "./a"
 
 //go:noinline
-func F() interface {} {
+func F() interface{} {
        return a.T[int]{}
 }
 
 //go:noinline
 func G() interface{} {
-       return struct{X,Y a.U}{}
+       return struct{ X, Y a.U }{}
 }
index 7c8a8b1acd0a996ddbd360b54c3e0ec52d9d70b7..58bb8a017f16f3882c978e986846593b5dac18ee 100644 (file)
@@ -5,8 +5,8 @@
 package main
 
 import (
-       "b"
-       "c"
+       "./b"
+       "./c"
 )
 
 func main() {
index 3725e5591e3ba88a6060713b6051c96861bd21fc..e74dae08598ced8e8b1d8eeba9bd082b5bc4a520 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 func main() {
        a.F[string]()
index ef00c8a81c982b211a952250a6b614c17365eb41..8787e7ea69b365137ef2964dd460333eb208ec0c 100644 (file)
@@ -4,7 +4,7 @@ package main
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-import "a"
+import "./a"
 
 func main() {
        a.F[int]()
index 1f3715376942429720524f6af49cc3bdcdc0291c..4818a42a486f373e6cf863fdd4bea25aee9e0cf4 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 type B[T any] struct {
        v a.A[T]
index e7f781e4af25c8b20b7d72a5f61540f632bd5818..81cdb80036dc14ce87cf0988bb10015aabcee68c 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 type B[T any] struct {
        _ a.A[T]
index fccefe023f68aeffa2fd907007d8aef716fc6465..f9fa60f3f533a0a952cd7ff22f3efce8b59861ca 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "b"
+import "./b"
 
 func main() {
        var _ b.B[int]
index b36f6bddf0304dc000bb4d63299ed02d70b09c8d..b86b53666489149a7c31a1e60adc0d96e96644cd 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 type Ap1[A, B any] struct {
        opt a.Option[A]
index 8b5b3bdad784638ee9222e94a1b5bfeaf8ccfcc2..447212d027648f1fee31e1fe35c823f16f04a6ae 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "b"
+       "./b"
        "fmt"
 )
 
index 71eb44ff62a769f12e682097b85aabab1c7de881..3978ef4fba8353eb58201a769ab2aa1909a73613 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
 )
 
 //go:noinline
index 20f9b38b5f3922870acec702caee089fa9e720d3..efa6cbbc307e378bc66d8a6dc6b3c70aa22d12ac 100644 (file)
@@ -5,7 +5,7 @@
 package b
 
 import (
-       "a"
+       "./a"
 )
 
 var IntBuilder = a.Builder[int]{}
index ee9ff9fff7fd9f52f8f9b801284f77ef1700a2e1..169135678dad1ec1600523268d5337fd7798019e 100644 (file)
@@ -5,7 +5,7 @@
 package c
 
 import (
-       "b"
+       "./b"
 )
 
 func BuildInt() int {
index 30203817360fc78f68b93fe7d51c980ef3fc7f37..93b40c921e04a77240a8a8cc07518c4a46edc623 100644 (file)
@@ -5,7 +5,7 @@
 package d
 
 import (
-       "c"
+       "./c"
 )
 
 func BuildInt() int {
index 4b6ae414c4bbc28a5d5fe55fd04355cbe6b97caf..33986018506d5964c51617bbe142051daf21e90f 100644 (file)
@@ -1,7 +1,7 @@
 package main
 
 import (
-       "d"
+       "./d"
        "fmt"
 )
 
index 909d6e43fd37255309aaefb2f241784d1b0397e8..6a5067c9fb2d862fd09c5a4c2106aeab39e47189 100644 (file)
@@ -8,7 +8,7 @@
 package main
 
 import (
-       "b"
+       "./b"
        "fmt"
 )
 
index 4661976034c7f562d8e9a1b5401edfed60edf0b6..178542bc380eb3657ffd39d59033d587c5824a33 100644 (file)
@@ -8,7 +8,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
 )
 
index 88a765bfe9eb5962c0d76bd0691690f5d7fcf492..7181b937fd6c0ef3676f2e9b1d7e3c42c98a9cda 100644 (file)
@@ -1,7 +1,7 @@
 package main
 
 import (
-       "a"
+       "./a"
 )
 
 func main() {
index db5f1c32234c1c8f9c4a4f003a2ecc754e66f525..c2c8eea73d7bcc9c2dad20945043caafa25e2d3c 100644 (file)
@@ -1,6 +1,6 @@
 package main
 
-import fp "goerror_fp"
+import fp "./goerror_fp"
 
 func Fold[A, B any](zero B, a A, f func(B, A) B) B {
        return f(zero, a)
index 047c27e5e161d96d0564df5cd05c7ccfd38e57b7..0ff2ed360877ac251ab957ba77b5beb6973e0c1a 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
 )
 
index bad7b6a34bc6d9c7767041e42105ba3e8df3cfb4..3e656bde32dc81d1045700e2bb06fdc66e5190d5 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "diameter"
+       "./diameter"
 )
 
 func main() {
index 0e63fac016a38773fd2bbb947ea3bc7d17d6977b..36624b4bd67ac876b793c513eae0b16d709c8e15 100644 (file)
@@ -4,7 +4,7 @@
 
 package a1
 
-import "a0"
+import "./a0"
 
 func New() int {
        return a0.IntBuilder{}.New()
index 3eb5200253dbc54ffddefd83291f8937d8d0e77d..c28be66f6bab288ff603c5eb355b38f0f829d43d 100644 (file)
@@ -4,7 +4,7 @@
 
 package a2
 
-import "a0"
+import "./a0"
 
 func New() int {
        return a0.Builder[int]{}.New1()
index 0fab8b665c3dd4e851da5f7922457db535e3dbc1..b0b6844ccc2858ea6182a208f5b39f8a56ff353f 100644 (file)
@@ -7,8 +7,8 @@ package main
 import (
        "fmt"
 
-       "a1"
-       "a2"
+       "./a1"
+       "./a2"
 )
 
 func New() int {
index f2f70225ffa018c34e68218b03b58da8e5ca1956..38e3de3a6bb6aa8970b787da3ab3c9d6b56272b0 100644 (file)
@@ -4,7 +4,7 @@
 
 package b
 
-import "a"
+import "./a"
 
 func F() {
        a.Marshal[int]()
index 999b4a96a1b953c554968da3eeeff13e2f86df40..14c6d179d2b38e32454840da1281c8a7d3252909 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
 )
 
index 64273d313bb49284fe62740042cfd4fbd9e8875f..1de8793d4db0c9c4de77a449a791f6e1675e33da 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
 )
 
 func main() {
index 985ff59a18994bbb9c5c383a763d9982888be160..652a34a0828846ef93dc4475f30e5e6b62b7a11f 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
 )
 
index 226e1a9a571bde4b654e44bd9e52ce86bdc019c5..c3b936eada0033ffaecd6c832658f069d8d21357 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
        "strconv"
 )
index 4d4a4d9eb0b384687ae81fe3dc89c372a537dba3..8a56ce2bfb391f7e48938eb574fd1ce0a3644b76 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
        "reflect"
        "strconv"
index 873660e4cd5038f6f316c1d1d5dd7c3883bc1a0c..45f7d39f931e009444e51f1e14728930b407d9cf 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
        "math"
        "sort"
index 63786de5e62d2df161a8066ee0d1ad5deacbf8c2..c9ca50a23be50be11bbf0d219b73c9dbdcd7bb7a 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
 )
 
index 509f5aaed2b4cb8b1f0e7a46bc2e93d3c7555ddb..36bec0f600de2dea6b1ab763b56a9e758c9b7405 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
 )
 
index 978f1e763c09f4d2ae5badbcc33a46dad0771af0..7758a75c233776aad8ea0e118b55a7536ea50d76 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "bytes"
        "fmt"
 )
index 027fdd9ce766605db05c73fe435af0384923e274..f76da434d4cfe34deaf4534df90f5d1bd101e9cd 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
        "unsafe"
 )
index c9d8e3cc0899a545b70867d14a55271493847034..d8cfa3875c0b5e69208e9253edb4b0b8388b5950 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import "a"
+import "./a"
 
 func main() {
        a.F(5.3)
index 8fd165714395b1d790a37f980cdfc4bbfcbf191c..e1ec86a6f0d030f43955977c18e814d5265649b1 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
        "sort"
 )
index 0f79e10018b17f7e9062316c0db711ba1a91871d..ec13188ba9654d3b1c0e0fd774c6792643542d4a 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
        "math"
        "strings"
index e30bdf1abeb671c426b0d69193a6cf648c25f78d..9b41d3bc1db010c996e69ea005d090651b6ca463 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
        "reflect"
        "strconv"
index 606ff2273af8333521a5947fe262497110181dc1..e357af4615f1ab74c623d640bb236fddc5723f79 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "a"
+       "./a"
        "fmt"
 )