diff options
author | Russ Cox <rsc@golang.org> | 2008-10-06 16:44:17 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2008-10-06 16:44:17 -0700 |
commit | c3f883ca269da60d18eeffd32e1827cf85de08c9 (patch) | |
tree | ad3bc97650aa258d27d9187800c07d45f3661920 /src/lib/net/net.go | |
parent | 3d805b91f2806b9bc4fe4e55dc74179813ca11e6 (diff) | |
download | golang-c3f883ca269da60d18eeffd32e1827cf85de08c9.tar.gz |
change type names to go live at the name, so that
type T struct {
next *T
}
and
type T *struct {
next T
}
are valid without needing forward declarations.
add "type T struct" syntax for forward struct declarations.
add "type T interface" syntax, but commented out
(need to fix semicolons first)
R=ken
DELTA=452 (259 added, 115 deleted, 78 changed)
OCL=16580
CL=16584
Diffstat (limited to 'src/lib/net/net.go')
0 files changed, 0 insertions, 0 deletions