Skip to content

Commit 9b8148a

Browse files
rscYinJiaJin
authored and
YinJiaJin
committed
cmd/gc: use go.builtin as package prefix, not go%2ebuiltin
This matches all the other pseudo-packages. The line was simply forgotten. Change-Id: I278f6cbcfc883ea7efad07f99fc8c853b9b5d274 Reviewed-on: https://go-review.googlesource.com/4591 Reviewed-by: Austin Clements <[email protected]>
1 parent 4b55db1 commit 9b8148a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/cmd/gc/lex.c

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ gcmain(int argc, char *argv[])
179179

180180
// pseudo-package, for scoping
181181
builtinpkg = mkpkg(newstrlit("go.builtin"));
182+
builtinpkg->prefix = "go.builtin"; // not go%2ebuiltin
182183

183184
// pseudo-package, accessed by import "unsafe"
184185
unsafepkg = mkpkg(newstrlit("unsafe"));

0 commit comments

Comments
 (0)