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 @@
package main
import (
"file";
"./file";
"flag";
"fmt";
"os";
......
......@@ -5,7 +5,7 @@
package main
import (
"file";
"./file";
"flag";
"fmt";
"os";
......
......@@ -5,7 +5,7 @@
package main
import (
"file";
"./file";
"fmt";
"os";
)
......
......@@ -7,7 +7,6 @@ package gobuild
import (
"flag";
"fmt";
"gobuild";
"io";
"os";
"path";
......@@ -16,6 +15,8 @@ import (
"template";
"unicode";
"utf8";
"./gobuild";
)
type Pkg struct
......
......@@ -4,9 +4,7 @@
package main
import (
"gobuild";
)
import "./gobuild";
func main() {
gobuild.Main();
......
......@@ -6,10 +6,11 @@ package gobuild
import (
"fmt";
"gobuild";
"io";
"path";
"template";
"./gobuild";
)
var makefileTemplate = `
......
......@@ -4,7 +4,7 @@
package bug1
import "bug0"
import "./bug0"
// 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
......
......@@ -4,7 +4,7 @@
package main
import P "bug0"
import P "./bug0"
func main() {
a0 := P.V0(); // works
......
......@@ -3,5 +3,5 @@
// license that can be found in the LICENSE file.
package bug1
import "bug0"
import "./bug0"
......@@ -4,6 +4,6 @@
package bug1
import "bug0"
import "./bug0"
type T struct { t bug0.T }
......@@ -4,8 +4,8 @@
package bug1
import "bug1"
import "bug0"
import "./bug1"
import "./bug0"
type T2 struct { t bug0.T }
......
......@@ -5,7 +5,7 @@
package main
import "os"
import "x"
import "./x"
func main() {
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