Commit cf370a62 authored by Russ Cox's avatar Russ Cox

add ./ to imports where necessary

R=r
DELTA=51  (4 added, 4 deleted, 43 changed)
OCL=30759
CL=30778
parent 7de48834
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
package main package main
import ( import (
"file"; "./file";
"flag"; "flag";
"fmt"; "fmt";
"os"; "os";
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
package main package main
import ( import (
"file"; "./file";
"flag"; "flag";
"fmt"; "fmt";
"os"; "os";
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
package main package main
import ( import (
"file"; "./file";
"fmt"; "fmt";
"os"; "os";
) )
......
...@@ -7,7 +7,6 @@ package gobuild ...@@ -7,7 +7,6 @@ package gobuild
import ( import (
"flag"; "flag";
"fmt"; "fmt";
"gobuild";
"io"; "io";
"os"; "os";
"path"; "path";
...@@ -16,6 +15,8 @@ import ( ...@@ -16,6 +15,8 @@ import (
"template"; "template";
"unicode"; "unicode";
"utf8"; "utf8";
"./gobuild";
) )
type Pkg struct type Pkg struct
......
...@@ -4,9 +4,7 @@ ...@@ -4,9 +4,7 @@
package main package main
import ( import "./gobuild";
"gobuild";
)
func main() { func main() {
gobuild.Main(); gobuild.Main();
......
...@@ -6,10 +6,11 @@ package gobuild ...@@ -6,10 +6,11 @@ package gobuild
import ( import (
"fmt"; "fmt";
"gobuild";
"io"; "io";
"path"; "path";
"template"; "template";
"./gobuild";
) )
var makefileTemplate = ` var makefileTemplate = `
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
package bug1 package bug1
import "bug0" import "./bug0"
// This is expected to fail--t0 is in package bug0 and should not be // This is expected to fail--t0 is in package bug0 and should not be
// visible here in package bug1. The test for failure is in // visible here in package bug1. The test for failure is in
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
package main package main
import P "bug0" import P "./bug0"
func main() { func main() {
a0 := P.V0(); // works a0 := P.V0(); // works
......
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package bug1 package bug1
import "bug0" import "./bug0"
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
package bug1 package bug1
import "bug0" import "./bug0"
type T struct { t bug0.T } type T struct { t bug0.T }
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
package bug1 package bug1
import "bug1" import "./bug1"
import "bug0" import "./bug0"
type T2 struct { t bug0.T } type T2 struct { t bug0.T }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
package main package main
import "os" import "os"
import "x" import "./x"
func main() { func main() {
if x.Zero != 0 { if x.Zero != 0 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment