]> Cypherpunks repositories - gostls13.git/commit
allow forward declaration of struct in another file
authorRuss Cox <rsc@golang.org>
Mon, 29 Jun 2009 22:13:37 +0000 (15:13 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 29 Jun 2009 22:13:37 +0000 (15:13 -0700)
commit9435dc2bdfa595562655de56c77cf6f4eb103d75
tree7a8cd4536a42fb7aedffa342de2bb6cd79e58595
parent3119221ed83878b45b488e5b9c5dc0a883c79414
allow forward declaration of struct in another file
(in the same package).

allow forward method declaration to be satisfied
by implementation in another file (in the same package).
all methods must be declared in the same file
as the receiver type.

R=ken
OCL=30864
CL=30869
src/cmd/ar/ar.c
src/cmd/gc/dcl.c
src/cmd/gc/export.c
src/cmd/gc/go.y
src/cmd/ld/go.c