summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2009-02-06powser cleanup.Rob Pike2-122/+104
- don't need *struct - don't need item/rat both - closures make the inner slaves easier - delete some old BUG comments powser2 is left mostly alone, for variety. R=rsc DELTA=134 (2 added, 20 deleted, 112 changed) OCL=24579 CL=24581
2009-02-06closures - runtime and debugger support, test caseRuss Cox2-1/+101
R=r DELTA=257 (250 added, 1 deleted, 6 changed) OCL=24509 CL=24565
2009-02-05bug064Russ Cox2-6/+0
make f(g()) work when g returns multiple args with names different than f expects. func swap(a, b int) (c, d int) { return b, a } swap(swap(1,2)) R=ken OCL=24474 CL=24476
2009-02-05Rename function to avoid function redefinition error. RemoveIan Lance Taylor1-3/+3
.* from regexp since it confuses DejaGNU which runs gcc's testsuite. R=rsc DELTA=3 (0 added, 0 deleted, 3 changed) OCL=24435 CL=24438
2009-02-03bugs cleanup, including deleting one near-identical duplicate bugRob Pike3-29/+3
R=rsc DELTA=52 (15 added, 37 deleted, 0 changed) OCL=24274 CL=24274
2009-01-30update go code tree to new func rules.Russ Cox9-56/+104
R=r DELTA=367 (111 added, 59 deleted, 197 changed) OCL=23957 CL=23960
2009-01-29if take address of local, move to heap.Russ Cox3-1/+193
heuristic to not print bogus strings. fix one error message format. R=ken OCL=23849 CL=23851
2009-01-28add stack testRuss Cox1-0/+52
R=r DELTA=48 (48 added, 0 deleted, 0 changed) OCL=23715 CL=23732
2009-01-28additions to array container:Robert Griesemer1-1/+1
- added Slice, Cut, InsertArray, AppendArray - renamed Remove -> Delete (so we have: Insert, Delete, Cut) - more factoring of code - extra tests (could use some more) R=r,rsc DELTA=179 (127 added, 22 deleted, 30 changed) OCL=23648 CL=23685
2009-01-27bug135 is fixedRob Pike2-4/+0
TBR=ken OCL=23650 CL=23650
2009-01-27test for deferRob Pike1-0/+52
R=rsc DELTA=48 (48 added, 0 deleted, 0 changed) OCL=23624 CL=23626
2009-01-26f, ok := i.(Foo) does not compile if i already is equivalent to FooRob Pike2-0/+22
R=rsc DELTA=18 (18 added, 0 deleted, 0 changed) OCL=23544 CL=23547
2009-01-26gc #0. mark and sweep collector.Russ Cox2-0/+38
R=r,gri DELTA=472 (423 added, 2 deleted, 47 changed) OCL=23522 CL=23541
2009-01-26bug134Russ Cox1-0/+11
R=ken OCL=23532 CL=23532
2009-01-26bug133Russ Cox5-3/+5
R=ken OCL=23528 CL=23528
2009-01-26interface speedups and fixes.Russ Cox1-1/+8
more caching, better hash functions, proper locking. fixed a bug in interface comparison too. R=ken DELTA=177 (124 added, 10 deleted, 43 changed) OCL=23491 CL=23493
2009-01-26removed a:b in range syntaxKen Thompson2-4/+60
added another channel test R=r OCL=23488 CL=23488
2009-01-26Add a test for a case where 6g thinks that a field is visibleIan Lance Taylor5-0/+42
when it should not be. I couldn't get this any simpler; the error seems to have to do with the order of the imports in bug2.go. R=rsc DELTA=26 (26 added, 0 deleted, 0 changed) OCL=23450 CL=23482
2009-01-26implement new restrictions on whatRuss Cox8-54/+194
can be compared/hashed. R=r DELTA=351 (201 added, 80 deleted, 70 changed) OCL=23423 CL=23481
2009-01-23make test/chan/nonblock work even with real os threadsRuss Cox1-33/+62
R=ken OCL=23422 CL=23422
2009-01-21- added comment with various viewpoints so we have whole storyRobert Griesemer1-0/+63
once we close this R=r OCL=23239 CL=23239
2009-01-21disallow P.t for lowercase t and not our package P.Russ Cox1-1/+1
implement hiding lowercase methods m in signatures by adding in a hash of the package name to the type hash code. remove remaining checks for internally-generated _ names: they are all gone. R=ken OCL=23236 CL=23238
2009-01-21- duplicate struct field not diagnosedRobert Griesemer2-0/+20
R=rsc DELTA=16 (16 added, 0 deleted, 0 changed) OCL=23224 CL=23229
2009-01-21Get this bug back to the intended state: bug1.go is making aIan Lance Taylor2-3/+7
reference to a type which should not be visible. The test currently fails with 6g. R=rsc DELTA=7 (4 added, 0 deleted, 3 changed) OCL=23222 CL=23225
2009-01-21sys.readfile has been removed. Remove the test case for it.Ian Lance Taylor1-28/+0
It was disabled last week anyhow. R=r,rsc DELTA=24 (0 added, 24 deleted, 0 changed) OCL=23205 CL=23220
2009-01-21With the removal of export, this bug no longer tests anythingIan Lance Taylor1-16/+0
interesting. It was disabled last week anyhow. Let's just delete it. R=r,rsc DELTA=12 (0 added, 12 deleted, 0 changed) OCL=23204 CL=23219
2009-01-20delete exportRuss Cox77-254/+254
TBR=r OCL=23121 CL=23127
2009-01-16convert tests; nothing interesting.Russ Cox81-294/+290
R=r OCL=23012 CL=23014
2009-01-16Change malloc.Lookup to return the size as uintptr rather thanIan Lance Taylor1-5/+5
uint64. This changes the Go code to be consistent with the C code. R=rsc DELTA=6 (0 added, 0 deleted, 6 changed) OCL=22983 CL=22987
2009-01-16casify, cleanup sysRuss Cox25-49/+51
R=r OCL=22978 CL=22984
2009-01-15convert strconvRuss Cox4-14/+14
R=r DELTA=568 (0 added, 9 deleted, 559 changed) OCL=22898 CL=22901
2009-01-15printf->Printf etc.Rob Pike4-94/+94
the raw fmt routines will be another, smaller but subtler pass. R=rsc DELTA=157 (0 added, 0 deleted, 157 changed) OCL=22851 CL=22851
2009-01-15Test that a const with an explicit type is not treated asIan Lance Taylor2-0/+15
having an abstract type. R=gri DELTA=11 (11 added, 0 deleted, 0 changed) OCL=22829 CL=22832
2009-01-15Test that interfaces are correctly handled by pointer and byIan Lance Taylor2-0/+154
value for large and small objects. Currently one case fails with 6g. R=rsc DELTA=150 (150 added, 0 deleted, 0 changed) OCL=22823 CL=22827
2009-01-15Recognize gccgo error messages:Ian Lance Taylor1-2/+2
interface5.go:15:5: error: incompatible types in assignment interface5.go:16:5: error: incompatible types in assignment (Yes, these could be better). R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=22821 CL=22826
2009-01-09test of automatic indirectRuss Cox1-0/+97
R=r DELTA=93 (93 added, 0 deleted, 0 changed) OCL=22458 CL=22461
2009-01-09simplify flag interface. no more BVal etc. you just get a pointer.Rob Pike4-24/+18
fixed everything except the tutorial. R=rsc DELTA=404 (94 added, 139 deleted, 171 changed) OCL=22414 CL=22422
2009-01-08bug046 and bug080 are fixedRuss Cox3-12/+0
R=r DELTA=72 (30 added, 42 deleted, 0 changed) OCL=22373 CL=22378
2009-01-08second pass on interface fixes and tests.Russ Cox5-2/+125
R=ken OCL=22370 CL=22372
2009-01-07uncomment a BUG that is now fixedRob Pike1-2/+3
R=rsc DELTA=3 (1 added, 0 deleted, 2 changed) OCL=22195 CL=22207
2009-01-0618 tests are behaving incorrectlyRob Pike1-4/+4
no more surprises - all caught up R=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=22194 CL=22194
2009-01-06fixed and added more testsKen Thompson1-3/+20
R=r OCL=22187 CL=22187
2009-01-06fix newfnRuss Cox1-1/+4
R=ken OCL=22173 CL=22173
2009-01-06new new & makeRuss Cox57-155/+154
R=r OCL=22166 CL=22166
2009-01-06bug020 is fixedRob Pike2-4/+0
R=rsc DELTA=40 (18 added, 22 deleted, 0 changed) OCL=22134 CL=22139
2009-01-05clean up some testsRob Pike5-9/+8
R=rsc DELTA=10 (1 added, 2 deleted, 7 changed) OCL=22033 CL=22033
2008-12-30Test for a go statement which calls a method on an interface.Ian Lance Taylor2-0/+24
R=ken DELTA=20 (20 added, 0 deleted, 0 changed) OCL=21889 CL=21929
2008-12-30allow slices (open arrays) to beKen Thompson1-17/+4
receivers in methods. put back original code for hilbert/bignum R=r OCL=21910 CL=21920
2008-12-20hilbert now runs.Rob Pike1-4/+16
it's 25% faster and runs with 40% less memory allocation than before R=rsc DELTA=20 (15 added, 0 deleted, 5 changed) OCL=21690 CL=21690
2008-12-20update map test.Rob Pike1-120/+168
convert to printf. increase count to 1000 - maps are faster now. add cases for structure values as key and maps. R=rsc DELTA=197 (66 added, 18 deleted, 113 changed) OCL=21683 CL=21686