]> Cypherpunks repositories - gostls13.git/commitdiff
test: import file name for issue19028
authorIan Lance Taylor <iant@golang.org>
Tue, 15 Dec 2020 03:18:20 +0000 (19:18 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 15 Dec 2020 20:45:24 +0000 (20:45 +0000)
The pattern in NNN.dir directories is that if we have a.go,
the other files import "./a". For gc it happens to work to use a path,
but not for gofrontend. Better to be consistent.

Change-Id: I2e023cbf6bd115f9fb77427b097b0ff9b9992f17
Reviewed-on: https://go-review.googlesource.com/c/go/+/278113
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
test/fixedbugs/issue19028.dir/main.go

index 627e926f9370a9f79dd45d85d73d6410ed83e9d8..e2ee7b8ca1df2da8a26d4ae028b516e0f1b6dfdf 100644 (file)
@@ -6,7 +6,7 @@ package main
 
 import (
         "reflect"
-        fake "./reflect" // 2nd package with name "reflect"
+        fake "./a" // 2nd package with name "reflect"
 )
 
 type T struct {