]> Cypherpunks.ru repositories - gostls13.git/commit
gc: implement nil chan support
authorRuss Cox <rsc@golang.org>
Wed, 17 Aug 2011 19:54:17 +0000 (15:54 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 17 Aug 2011 19:54:17 +0000 (15:54 -0400)
commit3770b0e60c457f9336842f84b86a80ef945658b7
tree3895138289fb3c5fd2c52c9c15fb2f9e714da04e
parent65bde087aeaad4844ea13c0064bcd4d8cc90cc03
gc: implement nil chan support

The spec has defined nil chans this way for months.
I'm behind.

R=ken2
CC=golang-dev
https://golang.org/cl/4897050
src/cmd/gc/builtin.c.boot
src/cmd/gc/runtime.go
src/cmd/gc/select.c
src/cmd/gc/walk.c
src/pkg/reflect/value.go
src/pkg/runtime/chan.c
src/pkg/runtime/runtime.h
src/pkg/runtime/type.h
test/chan/select3.go