summaryrefslogtreecommitdiff
path: root/usr/austin/eval/expr.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-07-28 20:01:00 -0700
committerRuss Cox <rsc@golang.org>2009-07-28 20:01:00 -0700
commite585bd5cd555f24e31b50b792f86cd2057a4e203 (patch)
tree8a67b2efe49f8ab0283f63357abc34358617d955 /usr/austin/eval/expr.go
parent7bba2df39505a609a1d3c5a134b3707a46045c1b (diff)
downloadgolang-e585bd5cd555f24e31b50b792f86cd2057a4e203.tar.gz
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
Diffstat (limited to 'usr/austin/eval/expr.go')
0 files changed, 0 insertions, 0 deletions