Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-04-07 | func f() (int, int); | Russ Cox | 1 | -23/+35 | |
x := f(); used to give fatal error: dowidth fn struct struct { int; int } now gives assignment count mismatch: 1 = 2 R=ken OCL=27198 CL=27201 | |||||
2009-04-06 | set line number for errors produced during walkstate. | Russ Cox | 1 | -0/+1 | |
R=ken OCL=27145 CL=27145 | |||||
2009-04-03 | fix both of anton's bugs: | Russ Cox | 1 | -12/+10 | |
* make([100]int) was being compiled to make([]int), kind of. * []this = [100]that was working for any this, that. turned up a typo in pipe_test.go R=ken OCL=27081 CL=27081 | |||||
2009-03-30 | move alignment calculations into gc | Russ Cox | 1 | -1/+3 | |
R=ken OCL=26914 CL=26914 | |||||
2009-03-20 | range over channels. | Russ Cox | 1 | -4/+33 | |
also fix multiple-evaluation bug in range over arrays. R=ken OCL=26576 CL=26576 | |||||
2009-03-18 | fix b/1722502 | Russ Cox | 1 | -0/+3 | |
BUG=1722502 R=ken OCL=26526 CL=26526 | |||||
2009-03-12 | make 6g constants behave as ken proposes. (i hope.) | Russ Cox | 1 | -120/+116 | |
various bug fixes and tests involving constants. test/const1.go is the major new test case. R=ken OCL=26216 CL=26224 | |||||
2009-03-12 | chan flags close/closed installed | Ken Thompson | 1 | -0/+50 | |
runtime not finished. R=r OCL=26217 CL=26217 | |||||
2009-03-11 | added bitclear operators &^ and &^= | Ken Thompson | 1 | -1/+17 | |
R=r OCL=26152 CL=26152 | |||||
2009-03-11 | bug 125 | Ken Thompson | 1 | -4/+18 | |
R=r OCL=26146 CL=26146 | |||||
2009-03-10 | bug086 | Ken Thompson | 1 | -1/+3 | |
R=r OCL=26090 CL=26090 | |||||
2009-03-05 | new switch implementation | Ken Thompson | 1 | -147/+48 | |
in preparation of type switch. no functional change (yet). R=r OCL=25784 CL=25788 | |||||
2009-03-04 | disallow ordinary-type.(T), as in spec. | Russ Cox | 1 | -0/+3 | |
R=ken OCL=25705 CL=25705 | |||||
2009-03-03 | back to T{x}, stricter handling of T(x) vs x.(T) | Russ Cox | 1 | -52/+51 | |
R=ken DELTA=131 (60 added, 41 deleted, 30 changed) OCL=25617 CL=25633 | |||||
2009-02-21 | bug with select := | Ken Thompson | 1 | -1/+1 | |
R=r OCL=25278 CL=25278 | |||||
2009-02-16 | bug123 | Russ Cox | 1 | -1/+6 | |
R=ken OCL=25075 CL=25075 | |||||
2009-02-15 | bug fix for &x[0] when x is slice | Russ Cox | 1 | -4/+7 | |
R=ken OCL=25044 CL=25044 | |||||
2009-02-13 | add composite literal ( ) syntax. | Russ Cox | 1 | -137/+172 | |
warn about composite literal { } syntax. R=ken OCL=25018 CL=25023 | |||||
2009-02-11 | require type assertions when narrowing. | Russ Cox | 1 | -10/+10 | |
R=ken OCL=24350 CL=24914 | |||||
2009-02-08 | add error to catch 6g alignment bug. | Russ Cox | 1 | -0/+5 | |
the fix appears to be to align the out struct on an 8 boundary, but that is a bit involved. R=ken OCL=24657 CL=24657 | |||||
2009-02-08 | gc funarg return fix. | Russ Cox | 1 | -2/+5 | |
change type (to satisfy OAS) after nodarg: nodarg uses offset from type too, and must use correct offset. R=ken OCL=24656 CL=24656 | |||||
2009-02-06 | closures - 6g support | Russ Cox | 1 | -12/+13 | |
R=ken OCL=24501 CL=24566 | |||||
2009-02-05 | bug064 | Russ Cox | 1 | -2/+2 | |
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-01-30 | avoid memcpy(x, x), | Russ Cox | 1 | -1/+1 | |
which valgrind complains about. R=ken OCL=23990 CL=23990 | |||||
2009-01-30 | update compiler to new func rules | Russ Cox | 1 | -3/+9 | |
R=ken OCL=23958 CL=23961 | |||||
2009-01-29 | if take address of local, move to heap. | Russ Cox | 1 | -56/+193 | |
heuristic to not print bogus strings. fix one error message format. R=ken OCL=23849 CL=23851 | |||||
2009-01-27 | bug 135 | Ken Thompson | 1 | -7/+24 | |
R=r OCL=23646 CL=23646 | |||||
2009-01-27 | change dotdotdot interfaces to be structs, | Russ Cox | 1 | -10/+8 | |
not pointers to structs. fix defered dotdotdot. R=r,ken DELTA=25 (7 added, 5 deleted, 13 changed) OCL=23620 CL=23625 | |||||
2009-01-27 | defer | Ken Thompson | 1 | -0/+3 | |
R=r OCL=23592 CL=23592 | |||||
2009-01-26 | assignment count mismatch: 2 = 1. | Russ Cox | 1 | -3/+8 | |
R=ken OCL=23534 CL=23534 | |||||
2009-01-26 | print(map) and print(chan) as pointers. | Russ Cox | 1 | -3/+3 | |
R=ken OCL=23520 CL=23520 | |||||
2009-01-09 | clean up automatic indirect, delete some dead code. | Russ Cox | 1 | -66/+53 | |
R=ken OCL=22454 CL=22457 | |||||
2009-01-09 | 6g cleanup suggested by ken. | Russ Cox | 1 | -95/+39 | |
remove TPTR wrapper around TMAP, TCHAN, TSTRING. R=ken OCL=22406 CL=22409 | |||||
2009-01-08 | second pass on interface fixes and tests. | Russ Cox | 1 | -55/+55 | |
R=ken OCL=22370 CL=22372 | |||||
2009-01-08 | fix: | Russ Cox | 1 | -1/+3 | |
type T []int var a []int var t = T(a) R=ken OCL=22341 CL=22341 | |||||
2009-01-08 | typo | Russ Cox | 1 | -1/+1 | |
R=ken OCL=22327 CL=22327 | |||||
2009-01-08 | many interface bug fixes. | Russ Cox | 1 | -12/+22 | |
also, after func g() (int, int) func f(int, int) allow f(g()) and func h() (int, int) { return g() } R=ken DELTA=356 (252 added, 26 deleted, 78 changed) OCL=22319 CL=22325 | |||||
2009-01-07 | more | Ken Thompson | 1 | -1/+2 | |
R=r OCL=22240 CL=22240 | |||||
2009-01-07 | conversion from closed array to slice | Ken Thompson | 1 | -51/+30 | |
R=r OCL=22236 CL=22236 | |||||
2009-01-07 | [...] bug | Ken Thompson | 1 | -21/+22 | |
R=r OCL=22218 CL=22218 | |||||
2009-01-07 | clear automatic arrays created with literals | Ken Thompson | 1 | -57/+71 | |
R=r OCL=22215 CL=22215 | |||||
2009-01-06 | closed arrays including [...] | Ken Thompson | 1 | -9/+20 | |
R=r OCL=22182 CL=22182 | |||||
2009-01-06 | fix newfn | Russ Cox | 1 | -1/+2 | |
R=ken OCL=22173 CL=22173 | |||||
2009-01-06 | new new &Point{1,2} | Russ Cox | 1 | -2/+2 | |
R=ken OCL=22168 CL=22168 | |||||
2009-01-06 | make for slice/map/chan | Ken Thompson | 1 | -13/+57 | |
new for pointers R=r OCL=22158 CL=22158 | |||||
2008-12-26 | diagnostic to catch pointer to | Ken Thompson | 1 | -1/+7 | |
rvalue promoted to method receiver. fixes to bignum that failed. R=r OCL=21827 CL=21827 | |||||
2008-12-20 | fix new(T) if type T []int. | Russ Cox | 1 | -0/+1 | |
make sure type of expr is T not just []int R=ken OCL=21688 CL=21688 | |||||
2008-12-19 | [] and struct in interfaces. | Russ Cox | 1 | -29/+40 | |
other [] cleanup. convert() is gone. R=r DELTA=352 (144 added, 68 deleted, 140 changed) OCL=21660 CL=21662 | |||||
2008-12-19 | portability bug | Ken Thompson | 1 | -0/+2 | |
cant assign to closed array R=r OCL=21634 CL=21634 | |||||
2008-12-19 | fix new(bool) error message | Russ Cox | 1 | -8/+8 | |
R=ken OCL=21616 CL=21616 |