summaryrefslogtreecommitdiff
path: root/test/ken
Commit message (Collapse)AuthorAgeFilesLines
...
* move things out of sys into os and runtimeRuss Cox2009-05-082-10/+14
| | | | | | R=r OCL=28569 CL=28573
* added a distinguishing string to the error printsKen Thompson2009-05-061-31/+58
| | | | | | R=r OCL=28321 CL=28357
* signs on div and modKen Thompson2009-05-051-0/+184
| | | | | | R=r OCL=28319 CL=28319
* make string take []byte only, so have to use *[10]byte to convertRuss Cox2009-04-161-2/+2
| | | | | | | R=r DELTA=4 (0 added, 0 deleted, 4 changed) OCL=27578 CL=27584
* code changes for array conversion.Russ Cox2009-04-152-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | as a reminder, the old conversion was that you could write var arr [10]byte; var slice []byte; slice = arr; but now you have to write slice = &arr; the change eliminates an implicit &, so that the only implicit &s left are in the . operator and in string(arr). also, removed utf8.EncodeRuneToString in favor of string(rune). R=r DELTA=83 (1 added, 23 deleted, 59 changed) OCL=27531 CL=27534
* insert type assertions when narrowing.Russ Cox2009-02-113-16/+16
| | | | | | R=r OCL=24349 CL=24913
* update go code tree to new func rules.Russ Cox2009-01-301-2/+2
| | | | | | | R=r DELTA=367 (111 added, 59 deleted, 197 changed) OCL=23957 CL=23960
* removed a:b in range syntaxKen Thompson2009-01-262-4/+60
| | | | | | | | added another channel test R=r OCL=23488 CL=23488
* delete exportRuss Cox2009-01-209-37/+37
| | | | | | TBR=r OCL=23121 CL=23127
* convert tests; nothing interesting.Russ Cox2009-01-1610-45/+45
| | | | | | R=r OCL=23012 CL=23014
* casify, cleanup sysRuss Cox2009-01-161-7/+7
| | | | | | R=r OCL=22978 CL=22984
* new new & makeRuss Cox2009-01-0613-28/+28
| | | | | | R=r OCL=22166 CL=22166
* fix some tests. only 3 remain broken (complit, hilbert, initcomma).Rob Pike2008-12-203-7/+7
| | | | | | | | | leaving golden.out alone for now. R=ken DELTA=13 (0 added, 0 deleted, 13 changed) OCL=21682 CL=21682
* change *map to map; *chan to chan; new(T) to new(*T)Russ Cox2008-12-1913-24/+24
| | | | | | | | fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
* arraysKen Thompson2008-12-183-10/+21
| | | | | | R=r OCL=21564 CL=21564
* range clause must have = or :=Ken Thompson2008-12-151-6/+6
| | | | | | | | := illegal in for-increment R=r OCL=21204 CL=21204
* range statementKen Thompson2008-12-051-0/+113
| | | | | | R=r OCL=20667 CL=20667
* compiler catches out of bounds; work aroundRob Pike2008-11-241-1/+2
| | | | | | R=ken OCL=19943 CL=19943
* Don't use a type guard with a type which is not an interface.Ian Lance Taylor2008-11-071-1/+1
| | | | | | | R=r,gri DELTA=2 (0 added, 0 deleted, 2 changed) OCL=18781 CL=18785
* typesKen Thompson2008-10-292-8/+9
| | | | | | R=r OCL=18034 CL=18034
* testKen Thompson2008-10-251-0/+236
| | | | | | R=r OCL=17855 CL=17855
* Per discussion earlier today with r and gri: when an interfaceIan Lance Taylor2008-10-241-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
* basic types/interfaces testKen Thompson2008-10-151-0/+104
| | | | | | R=r OCL=17247 CL=17247
* remove uses of *T as an implicit forward declaration of TRuss Cox2008-10-071-0/+6
| | | | | | R=gri,r OCL=16648 CL=16652
* update code to follow new semicolon rules:Russ Cox2008-10-072-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
* Storing an out of range constant into a variable shouldIan Lance Taylor2008-09-291-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
* another async select bugKen Thompson2008-09-201-139/+185
| | | | | | R=r OCL=15599 CL=15599
* fix some testsRob Pike2008-09-201-1/+4
| | | | | | R=ken OCL=15598 CL=15598
* channel testKen Thompson2008-09-191-0/+267
| | | | | | R=r OCL=15587 CL=15587
* T{} syntax for constructorsKen Thompson2008-09-052-2/+2
| | | | | | | | | T(expression) for conversion FUNC keyword no longer a type R=r OCL=14887 CL=14887
* update testsRob Pike2008-09-032-6/+4
| | | | | | | | add commands to two new ken tests R=gri OCL=14751 CL=14751
* fix type of (1<<x)Ken Thompson2008-08-292-0/+287
| | | | | | R=r OCL=14656 CL=14656
* delete redundant bug.Rob Pike2008-08-201-30/+0
| | | | | | | | | fix typo. add scoping bug. R=gri OCL=14349 CL=14349
* fixed bugs in const/caseKen Thompson2008-08-121-37/+35
| | | | | | | R=r DELTA=138 (75 added, 12 deleted, 51 changed) OCL=14129 CL=14131
* fix bug depot:Rob Pike2008-08-1123-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
* fix erroneous code in bugs; reported by iant.Rob Pike2008-08-072-7/+8
| | | | | | | | also rob1.go runs, so fix its status. R=gri,iant OCL=13957 CL=13957
* test update. also remove two duplicatesRob Pike2008-07-082-351/+0
| | | | SVN=126336
* test update. some tests now run; no change to outputRob Pike2008-07-083-3/+2
| | | | SVN=126328
* test cleanupRob Pike2008-07-072-2/+4
| | | | SVN=126120
* export sys.exitRob Pike2008-06-273-7/+4
| | | | | | | update tests to use exit rather than return ignore return value from main (actually done in prior CL) SVN=125173
* remove receclarations from testsKen Thompson2008-06-213-25/+25
| | | | | | that are supposed to succeed SVN=124018
* clean up ken/rob2.go to eliminate a few workaroundsRob Pike2008-06-181-7/+6
| | | | SVN=123442
* add bug045: bad nil assigning into arrayRob Pike2008-06-111-12/+10
| | | | | | update robfunc.go (BUG comment deleted) SVN=122143
* update lots of testsRob Pike2008-06-081-1/+1
| | | | SVN=121624
* check in the bugs and fixed bugsRob Pike2008-06-061-2/+12
| | | | SVN=121543
* add ken's tests.Rob Pike2008-06-0625-0/+1798
update run to work with multiple directories SVN=121485