mirror of
https://github.com/golang/go.git
synced 2024-10-01 15:27:13 +00:00
The Go programming language
9346c6d901
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 |
||
---|---|---|
doc | ||
include | ||
lib/godoc | ||
misc/xcode | ||
pkg | ||
src | ||
test | ||
usr |