summaryrefslogtreecommitdiff
path: root/test/ken
AgeCommit message (Collapse)AuthorFilesLines
2009-11-20x[y:] for stringsRuss Cox1-1/+1
R=ken2 http://codereview.appspot.com/157114
2009-11-20x[lo:] - gc and runtime.Russ Cox2-0/+16
* add runtime sliceslice1 for x[lo:] * remove runtime arraytoslice, rewriting &arr into arr[0:len(arr)]. * port cgen_inline into 8g, 5g. * use native memmove in maps R=ken2 http://codereview.appspot.com/157106
2009-10-13write stack traces and panics to stderrRob Pike1-0/+2
R=rsc DELTA=31 (5 added, 3 deleted, 23 changed) OCL=35700 CL=35700
2009-10-09time tests; sort -nr times.out | sed 10q is illuminating.Russ Cox2-2/+2
cut the slowest tests down from a few seconds to under half a second. R=r DELTA=21 (6 added, 1 deleted, 14 changed) OCL=35509 CL=35519
2009-09-28disallow interface { x, y() }Russ Cox2-7/+8
R=ken OCL=35042 CL=35044
2009-09-14fix "declared and not used" in tests;Russ Cox3-14/+16
also template/template.go, missed last time. R=r DELTA=116 (61 added, 10 deleted, 45 changed) OCL=34620 CL=34622
2009-09-08compound literal testKen Thompson1-0/+171
R=rsc OCL=34453 CL=34455
2009-08-28arraytoslice and some cleanupKen Thompson1-1/+6
R=rsc OCL=34058 CL=34058
2009-08-28sliceslice inlineKen Thompson1-0/+129
R=rsc OCL=34041 CL=34041
2009-08-27inline slicearrayKen Thompson1-0/+127
R=rsc OCL=33974 CL=33974
2009-08-21Enable these tests. Fix divconst.go and modconst.go toIan Lance Taylor2-4/+0
compile with the current compiler. Adjust expected error message in method1.go to match 6g output. R=rsc DELTA=9 (2 added, 5 deleted, 2 changed) OCL=33674 CL=33682
2009-08-17fix up some irregular indentationRob Pike3-4/+2
R=rsc OCL=33382 CL=33391
2009-08-12delete forward type declarationsRuss Cox1-6/+0
R=r DELTA=163 (1 added, 149 deleted, 13 changed) OCL=33106 CL=33111
2009-08-12convert non-pkg go files to whole-package compilation.Russ Cox4-11/+0
mostly removing forward declarations. R=r DELTA=138 (2 added, 127 deleted, 9 changed) OCL=33068 CL=33099
2009-08-108-bit div and modRuss Cox2-0/+220
R=ken OCL=32975 CL=32975
2009-08-08another plateau - almost doneKen Thompson2-20/+717
only need to fix up certain denominators R=rsc OCL=32928 CL=32928
2009-08-06divide by a constant power of 2Ken Thompson1-0/+45
R=rsc OCL=32858 CL=32858
2009-06-04string([]int) is now implementedRob Pike1-5/+15
R=rsc DELTA=18 (10 added, 2 deleted, 6 changed) OCL=29909 CL=29909
2009-05-08move things out of sys into os and runtimeRuss Cox2-10/+14
R=r OCL=28569 CL=28573
2009-05-06added a distinguishing string to the error printsKen Thompson1-31/+58
R=r OCL=28321 CL=28357
2009-05-05signs on div and modKen Thompson1-0/+184
R=r OCL=28319 CL=28319
2009-04-16make string take []byte only, so have to use *[10]byte to convertRuss Cox1-2/+2
R=r DELTA=4 (0 added, 0 deleted, 4 changed) OCL=27578 CL=27584
2009-04-15code changes for array conversion.Russ Cox2-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
2009-02-11insert type assertions when narrowing.Russ Cox3-16/+16
R=r OCL=24349 CL=24913
2009-01-30update go code tree to new func rules.Russ Cox1-2/+2
R=r DELTA=367 (111 added, 59 deleted, 197 changed) OCL=23957 CL=23960
2009-01-26removed a:b in range syntaxKen Thompson2-4/+60
added another channel test R=r OCL=23488 CL=23488
2009-01-20delete exportRuss Cox9-37/+37
TBR=r OCL=23121 CL=23127
2009-01-16convert tests; nothing interesting.Russ Cox10-45/+45
R=r OCL=23012 CL=23014
2009-01-16casify, cleanup sysRuss Cox1-7/+7
R=r OCL=22978 CL=22984
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