• Russ Cox's avatar
    make every func literal expression allocate, · 9346c6d9
    Russ Cox authored
    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
    9346c6d9
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib/godoc Loading commit data...
misc/xcode Loading commit data...
pkg Loading commit data...
src Loading commit data...
test Loading commit data...
usr Loading commit data...