1
0
mirror of https://github.com/golang/go synced 2024-11-26 10:28:19 -07:00
go/src
Russ Cox 9346c6d901 make every func literal expression allocate,
so that == on func means that the
functions originated in the same
execution of a func literal or definition.

before, there was an inconsistency:

	func() {x++} != func() {x++}

but

	func() {} == func() {}

this CL makes the second case != too,
just like

	make(map[int]int) != make(map[int]int)

R=r
DELTA=202  (71 added, 62 deleted, 69 changed)
OCL=32393
CL=32398
2009-07-28 20:01:00 -07:00
..
cmd make every func literal expression allocate, 2009-07-28 20:01:00 -07:00
lib9 fmt boundary bugs. 2009-07-28 14:50:17 -07:00
libbio
libmach_amd64
old/c
pkg make every func literal expression allocate, 2009-07-28 20:01:00 -07:00
all.bash
clean.bash
Make.386
Make.amd64
Make.arm
make.bash Support use of $GOBINDIR to override $HOME/bin 2009-07-28 11:23:24 -07:00
Make.conf Support use of $GOBINDIR to override $HOME/bin 2009-07-28 11:23:24 -07:00
quietgcc.bash
run.bash ebnflint command 2009-07-13 10:26:58 -07:00
sudo.bash