1
0
mirror of https://github.com/golang/go synced 2024-11-12 09:20:22 -07:00
go/doc/progs
Russ Cox 04098d88fa cmd/gc: make forward declaration in pure Go package an error
An error during the compilation can be more precise
than an error at link time.

For 'func init', the error happens always: you can't forward
declare an init func because the name gets mangled.

For other funcs, the error happens only with the special
(and never used by hand) -= flag, which tells 6g the
package is pure go.

The go command now passes -= for pure Go packages.

Fixes #3705.

R=ken2
CC=golang-dev
https://golang.org/cl/6996054
2012-12-22 16:46:46 -05:00
..
cgo1.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
cgo2.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
cgo3.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
cgo4.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
defer2.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
defer2.out doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
defer.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
defer.out doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
eff_bytesize.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
eff_bytesize.out doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
eff_qr.go effective_go: use html/template instead of text/template 2012-09-13 13:41:13 -07:00
eff_sequence.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
eff_sequence.out doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
error2.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
error3.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
error4.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
error.go cmd/gc: make forward declaration in pure Go package an error 2012-12-22 16:46:46 -05:00
go1.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
gobs1.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
gobs2.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_draw.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_package1.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_package1.out doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_package2.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_package2.out doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_package3.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_package3.out doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_package4.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_package4.out doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_package5.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_package5.out doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_package6.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
image_package6.out doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
interface2.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
interface2.out doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
interface.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
json1.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
json2.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
json2.out doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
json3.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
json4.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
json5.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
run cgo: enable cgo on openbsd 2012-12-21 01:43:19 +11:00
slices.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
timeout1.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
timeout2.go doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
update.bash doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00