mirror of
https://github.com/golang/go.git
synced 2025-05-07 08:32:59 +00:00
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
Description
Languages
Go
94.1%
Assembly
5.5%
C
0.2%
Shell
0.1%