summaryrefslogtreecommitdiff
path: root/test/ken
AgeCommit message (Collapse)AuthorFilesLines
2009-01-06new new & makeRuss Cox13-28/+28
R=r OCL=22166 CL=22166
2008-12-20fix some tests. only 3 remain broken (complit, hilbert, initcomma).Rob Pike3-7/+7
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 Cox13-24/+24
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18arraysKen Thompson3-10/+21
R=r OCL=21564 CL=21564
2008-12-15range clause must have = or :=Ken Thompson1-6/+6
:= illegal in for-increment R=r OCL=21204 CL=21204
2008-12-05range statementKen Thompson1-0/+113
R=r OCL=20667 CL=20667
2008-11-24compiler catches out of bounds; work aroundRob Pike1-1/+2
R=ken OCL=19943 CL=19943
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-10-29typesKen Thompson2-8/+9
R=r OCL=18034 CL=18034
2008-10-25testKen Thompson1-0/+236
R=r OCL=17855 CL=17855
2008-10-24Per discussion earlier today with r and gri: when an interfaceIan Lance Taylor1-1/+2
object has a value of type "int", it should not automatically convert to type "int32". That is, the type alias "int" should be regarded as having been defined as though "type int int32" appeared outside of the package, and as therefore being a different type from "int32". R=ken DELTA=21 (20 added, 0 deleted, 1 changed) OCL=17587 CL=17842
2008-10-15basic types/interfaces testKen Thompson1-0/+104
R=r OCL=17247 CL=17247
2008-10-07remove uses of *T as an implicit forward declaration of TRuss Cox1-0/+6
R=gri,r OCL=16648 CL=16652
2008-10-07update code to follow new semicolon rules:Russ Cox2-2/+2
* 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-09-29Storing an out of range constant into a variable shouldIan Lance Taylor1-6/+0
ideally cause the compiler to give an error. Right now 6g warns about large shifts but does not give an error. This CL removes the out of range shift from shift.go, so that it will work with gccgo, and adds a test case in bugs/ to be fixed at a later date. R=ken,r DELTA=23 (9 added, 14 deleted, 0 changed) OCL=16085 CL=16088
2008-09-20another async select bugKen Thompson1-139/+185
R=r OCL=15599 CL=15599
2008-09-20fix some testsRob Pike1-1/+4
R=ken OCL=15598 CL=15598
2008-09-19channel testKen Thompson1-0/+267
R=r OCL=15587 CL=15587
2008-09-05T{} syntax for constructorsKen Thompson2-2/+2
T(expression) for conversion FUNC keyword no longer a type R=r OCL=14887 CL=14887
2008-09-03update testsRob Pike2-6/+4
add commands to two new ken tests R=gri OCL=14751 CL=14751
2008-08-29fix type of (1<<x)Ken Thompson2-0/+287
R=r OCL=14656 CL=14656
2008-08-20delete redundant bug.Rob Pike1-30/+0
fix typo. add scoping bug. R=gri OCL=14349 CL=14349
2008-08-12fixed bugs in const/caseKen Thompson1-37/+35
R=r DELTA=138 (75 added, 12 deleted, 51 changed) OCL=14129 CL=14131
2008-08-11fix bug depot:Rob Pike23-125/+125
1) fix print statements, panic statements (parentheses required) 2) len is now allowed as a var name (bug053) R=gri OCL=14106 CL=14106
2008-08-07fix erroneous code in bugs; reported by iant.Rob Pike2-7/+8
also rob1.go runs, so fix its status. R=gri,iant OCL=13957 CL=13957
2008-07-08test update. also remove two duplicatesRob Pike2-351/+0
SVN=126336
2008-07-08test update. some tests now run; no change to outputRob Pike3-3/+2
SVN=126328
2008-07-07test cleanupRob Pike2-2/+4
SVN=126120
2008-06-27export sys.exitRob Pike3-7/+4
update tests to use exit rather than return ignore return value from main (actually done in prior CL) SVN=125173
2008-06-21remove receclarations from testsKen Thompson3-25/+25
that are supposed to succeed SVN=124018
2008-06-18clean up ken/rob2.go to eliminate a few workaroundsRob Pike1-7/+6
SVN=123442
2008-06-11add bug045: bad nil assigning into arrayRob Pike1-12/+10
update robfunc.go (BUG comment deleted) SVN=122143
2008-06-08update lots of testsRob Pike1-1/+1
SVN=121624
2008-06-06check in the bugs and fixed bugsRob Pike1-2/+12
SVN=121543
2008-06-06add ken's tests.Rob Pike25-0/+1798
update run to work with multiple directories SVN=121485