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
2009-05-20 11:12:05 -07:00
2009-07-28 16:40:23 -07:00
Description
The Go programming language
BSD-3-Clause 653 MiB
Languages
Go 94.1%
Assembly 5.5%
C 0.2%
Shell 0.1%