]> Cypherpunks repositories - gostls13.git/commit
type n t;
authorRuss Cox <rsc@golang.org>
Fri, 3 Apr 2009 04:38:11 +0000 (21:38 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 3 Apr 2009 04:38:11 +0000 (21:38 -0700)
commit07687705a4c2db718a3601d3558807833938dfbf
tree72cfefdf3bd88297d4355fcbe01da3a6743349cf
parent416b27548ed2c6ac89c28c192880900cbc2ffa6d
type n t;
was copying a bit too much about t into n,
like whether the signature was queued to be printed.
(bug reported by anton)

was also editing t, meaning you could do
type T int;
func (p int) Meth() { }

both fixed.

R=ken
OCL=27052
CL=27052
src/cmd/gc/dcl.c
src/cmd/gc/obj.c
src/cmd/gc/subr.c