summaryrefslogtreecommitdiff
path: root/test/fixedbugs
AgeCommit message (Collapse)AuthorFilesLines
2009-02-16bug123Russ Cox1-0/+14
R=ken OCL=25075 CL=25075
2009-02-13convert composite literals from { } to ( ).Russ Cox10-22/+22
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-02-11insert type assertions when narrowing.Russ Cox4-9/+6
R=r OCL=24349 CL=24913
2009-02-05bug064Russ Cox1-0/+23
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-03bugs cleanup, including deleting one near-identical duplicate bugRob Pike1-0/+16
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 Cox4-28/+28
R=r DELTA=367 (111 added, 59 deleted, 197 changed) OCL=23957 CL=23960
2009-01-27bug135 is fixedRob Pike1-0/+18
TBR=ken OCL=23650 CL=23650
2009-01-26bug134Russ Cox1-0/+11
R=ken OCL=23532 CL=23532
2009-01-26bug133Russ Cox4-0/+39
R=ken OCL=23528 CL=23528
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-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 Cox32-56/+56
TBR=r OCL=23121 CL=23127
2009-01-16convert tests; nothing interesting.Russ Cox31-58/+57
R=r OCL=23012 CL=23014
2009-01-16casify, cleanup sysRuss Cox5-6/+6
R=r OCL=22978 CL=22984
2009-01-15convert strconvRuss Cox1-5/+5
R=r DELTA=568 (0 added, 9 deleted, 559 changed) OCL=22898 CL=22901
2009-01-08bug046 and bug080 are fixedRuss Cox2-0/+38
R=r DELTA=72 (30 added, 42 deleted, 0 changed) OCL=22373 CL=22378
2009-01-06new new & makeRuss Cox17-30/+52
R=r OCL=22166 CL=22166
2009-01-06bug020 is fixedRob Pike1-0/+22
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-20fix some tests. only 3 remain broken (complit, hilbert, initcomma).Rob Pike4-4/+4
leaving golden.out alone for now. R=ken DELTA=13 (0 added, 0 deleted, 13 changed) OCL=21682 CL=21682
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox18-30/+30
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox5-6/+6
R=r OCL=21563 CL=21571
2008-12-16update tests - 119 is fixedRob Pike1-0/+32
R=gri DELTA=62 (28 added, 34 deleted, 0 changed) OCL=21269 CL=21271
2008-12-12test updateRob Pike1-0/+10
R=rsc DELTA=16 (5 added, 10 deleted, 1 changed) OCL=21085 CL=21087
2008-12-10another bug cleanup.Rob Pike1-0/+58
R=rsc DELTA=117 (54 added, 62 deleted, 1 changed) OCL=20924 CL=20927
2008-12-10update tests: nil is no longer integer-compatibleRob Pike2-0/+23
R=rsc DELTA=56 (17 added, 32 deleted, 7 changed) OCL=20876 CL=20916
2008-12-04bug128 is fixedRob Pike1-0/+23
R=rsc DELTA=43 (19 added, 24 deleted, 0 changed) OCL=20551 CL=20551
2008-11-12This bug has been fixed; moving it from bugs to fixedbugs.Ian Lance Taylor3-0/+27
R=gri DELTA=36 (18 added, 18 deleted, 0 changed) OCL=19059 CL=19133
2008-11-11The scope rules have been changed to say that labels live in aIan Lance Taylor1-0/+12
separate per-function namespace. R=gri DELTA=24 (8 added, 16 deleted, 0 changed) OCL=19006 CL=19057
2008-11-10update testsRob Pike1-0/+15
R=gri DELTA=28 (12 added, 14 deleted, 2 changed) OCL=18923 CL=18923
2008-11-07Don't use a type guard with a type which is not an interface.Ian Lance Taylor1-1/+1
R=r,gri DELTA=2 (0 added, 0 deleted, 2 changed) OCL=18781 CL=18785
2008-11-03fixed testsRuss Cox2-0/+71
R=r DELTA=124 (62 added, 62 deleted, 0 changed) OCL=18389 CL=18394
2008-10-30update testsRob Pike3-0/+77
R=rsc DELTA=159 (65 added, 84 deleted, 10 changed) OCL=18149 CL=18151
2008-10-29more simple test fixesRuss Cox1-1/+1
R=r OCL=18035 CL=18035
2008-10-17update fixed bugs (and delete an irrelevant one)Rob Pike7-0/+166
R=rsc DELTA=328 (158 added, 170 deleted, 0 changed) OCL=17353 CL=17359
2008-10-15bug is fixedRob Pike1-0/+19
R=ken OCL=17208 CL=17208
2008-10-14update bug listRob Pike5-0/+124
R=ken OCL=17169 CL=17169
2008-10-07remove uses of *T as an implicit forward declaration of TRuss Cox1-0/+4
R=gri,r OCL=16648 CL=16652
2008-10-07update code to follow new semicolon rules:Russ Cox2-7/+7
* 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. /home/rsc/bin/addsemi and then diff+tweak. R=r,gri OCL=16620 CL=16643
2008-10-06change type names to go live at the name, so thatRuss Cox1-0/+31
type T struct { next *T } and type T *struct { next T } are valid without needing forward declarations. add "type T struct" syntax for forward struct declarations. add "type T interface" syntax, but commented out (need to fix semicolons first) R=ken DELTA=452 (259 added, 115 deleted, 78 changed) OCL=16580 CL=16584
2008-10-06Change old-style export declaration to new style export ofIan Lance Taylor1-3/+1
type definition. R=r DELTA=3 (0 added, 2 deleted, 1 changed) OCL=16537 CL=16545
2008-10-05bug026 and bug060 are fixed. update.Rob Pike2-0/+45
R=rsc DELTA=87 (37 added, 50 deleted, 0 changed) OCL=16498 CL=16507
2008-10-01With the cleanup of method types, this test case is nowIan Lance Taylor1-15/+0
invalid. The receiver type is not permitted to be a pointer type. Since 6g currently accepts it, this moves the test case back to the bugs directory. R=gri DELTA=22 (11 added, 11 deleted, 0 changed) OCL=16284 CL=16336
2008-09-22re-fix bug067, update golden.outRuss Cox1-1/+5
R=r DELTA=9 (4 added, 3 deleted, 2 changed) OCL=15655 CL=15655
2008-09-22compiler changes:Russ Cox3-0/+38
export.c: - only expose explicitly exported types to importer - fix behind your back go.h: - add deep() prototype (fixes 64-bit linux crash on time.go) go.y: - add a new syntax error case walk.c: - allow a,b = f() where f is func ptr (fixes bug088) R=ken OCL=15617 CL=15630
2008-09-20fix some testsRob Pike1-0/+14
R=ken OCL=15598 CL=15598
2008-09-19Check for specific error messages in the testsuite. ThisIan Lance Taylor2-5/+5
permits testing that the compiler emits error messages for specific lines that match egrep regexps. The desired error messages are expressed using comments of the form // ERROR "regexp" R=r DELTA=90 (73 added, 8 deleted, 9 changed) OCL=15513 CL=15566
2008-09-16fix some broken tests (tests themselves were wrong)Rob Pike1-0/+16
R=gri,rsc OCL=15310 CL=15402
2008-09-16var bug is fixedRob Pike1-0/+15
R=rsc OCL=15400 CL=15400
2008-09-11- added 2 bugsRobert Griesemer1-17/+0
- moved bug 060 back into bugs R=r OCL=15175 CL=15175