summaryrefslogtreecommitdiff
path: root/test/closure.go
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+112
2011-09-13Imported Upstream version 60Ondřej Surý1-112/+0
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-0/+11
2010-03-24delete all uses of panicln by rewriting them using panic or,Rob Pike1-53/+54
in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev http://codereview.appspot.com/741041
2009-07-28make every func literal expression allocate,Russ Cox1-0/+12
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-03-03Automated g4 rollback of changelist 25024,Russ Cox1-3/+3
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
2009-02-13convert composite literals from { } to ( ).Russ Cox1-3/+3
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-02-06closures - runtime and debugger support, test caseRuss Cox1-0/+88
R=r DELTA=257 (250 added, 1 deleted, 6 changed) OCL=24509 CL=24565