1
0
mirror of https://github.com/golang/go synced 2024-11-22 16:14:56 -07:00
go/test
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
..
bugs move bug148, already fixed, to fixedbugs 2009-07-27 17:32:02 -07:00
chan Adjust expected errors to work with gccgo. 2009-05-31 11:18:52 -07:00
fixedbugs bug177: anonymous struct fields in reflect 2009-07-28 17:01:46 -07:00
interface Recognize gccgo error message. 2009-07-17 16:12:29 -07:00
ken string([]int) is now implemented 2009-06-04 16:51:47 -07:00
64bit.go new 64-bit math test. 2009-05-31 12:35:11 -07:00
235.go Don't bother to import "os" just so that we can call 2009-05-16 23:12:28 -07:00
args.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
assign.go Adjust expected errors to work with gccgo. 2009-05-31 11:18:52 -07:00
bigalg.go
char_lit.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
closedchan.go
closure.go make every func literal expression allocate, 2009-07-28 20:01:00 -07:00
cmp1.go
cmp2.go
cmp3.go maps have == so maps should work as map keys. 2009-07-03 09:45:15 -07:00
cmp4.go
cmp5.go maps have == so maps should work as map keys. 2009-07-03 09:45:15 -07:00
complit.go
const1.go
const2.go
const3.go
const.go
convert3.go test non-trivial conversions and assignments, 2009-06-19 14:00:39 -07:00
convert.go maps have == so maps should work as map keys. 2009-07-03 09:45:15 -07:00
convlit1.go
convlit.go update convlit.go to current spec 2009-05-05 11:23:39 -07:00
decl.go typo in message 2009-04-19 21:12:48 -07:00
declbad.go Recognize gcco error messages. 2009-04-28 07:16:03 -07:00
defer.go
empty.go
env.go Getenv: almost no one wants the error, so make it return a string that may be empty. 2009-06-26 20:28:41 -07:00
errchk do not echo command in errchk, 2009-07-21 19:45:06 -07:00
escape1.go
escape.go
float_lit.go
for.go
func1.go
func2.go
func3.go
func4.go
func5.go
func.go
gc1.go
gc.go
golden.out move bug148, already fixed, to fixedbugs 2009-07-27 17:32:02 -07:00
hashmap.go
helloworld.go
hilbert.go fix test 2009-07-07 10:30:31 -07:00
if1.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
if.go
import1.go Match gccgo error messages. 2009-05-19 15:23:43 -07:00
import.go implications of stricter type equality: 2009-05-08 15:40:14 -07:00
indirect1.go Recognize gccgo error messages. 2009-07-02 15:54:57 -07:00
indirect.go update tests for CL 30586. 2009-06-25 14:44:09 -07:00
initcomma.go
initialize.go allow type name as key to accomodate anonymous fields. 2009-05-21 16:31:10 -07:00
initializerr.go Adjust expected errors to work with gccgo. 2009-05-31 11:18:52 -07:00
initsyscall.go runtime: fix init scheduling bug. 2009-07-21 19:43:27 -07:00
int_lit.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
intcvt.go integer conversions and test. 2009-05-29 09:17:35 -07:00
iota.go
literal.go
malloc1.go
mallocrand.go fix 386 malloc tests, 2009-06-05 10:59:37 -07:00
mallocrep1.go fix 386 malloc tests, 2009-06-05 10:59:37 -07:00
mallocrep.go fix 386 malloc tests, 2009-06-05 10:59:37 -07:00
map.go
method1.go
method2.go
method3.go
method.go
nil.go
parentype.go
peano.go
printbig.go
range.go
run Support use of $GOBINDIR to override $HOME/bin 2009-07-28 11:23:24 -07:00
sieve.go
sigchld.go update Go tree to use new syscall package. 2009-06-01 22:14:39 -07:00
simassign.go
stack.go
string_lit.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
stringrange.go change utf8.FullRuneInString and utf8.DecodeRuneInString 2009-05-11 14:10:34 -07:00
switch1.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
switch.go
test0.go
turing.go
typeswitch.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
utf.go change utf8.FullRuneInString and utf8.DecodeRuneInString 2009-05-11 14:10:34 -07:00
varinit.go
vectors.go