1
0
mirror of https://github.com/golang/go synced 2024-09-23 17:10:13 -06:00
The Go programming language
Go to file
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
doc - renamed SimpleVarDecl -> ShortVarDecl, in sync with terminology used in prose 2009-07-16 20:31:41 -07:00
include fix gotest by fixing nm -s to print in file order by storing a sequence number 2009-04-15 21:57:55 -07:00
lib/godoc no longer necessary; directory not empty anymore 2009-07-09 16:44:20 -07:00
misc/xcode xcode config files, self-describing 2009-05-20 16:09:34 -07:00
pkg clear out pkg tree in clean.bash. 2009-05-20 11:12:05 -07:00
src make every func literal expression allocate, 2009-07-28 20:01:00 -07:00
test make every func literal expression allocate, 2009-07-28 20:01:00 -07:00
usr Implement comparison operators. 2009-07-28 16:40:23 -07:00