summaryrefslogtreecommitdiff
path: root/src/cmd/gc/go.h
AgeCommit message (Collapse)AuthorFilesLines
2009-03-24throw away most of the compat.h compatibility layerRuss Cox1-1/+0
in favor of the lib9 compatibility layer. no need for two. now that mycreate is gone, .6 files are 0644 not 0755. TBR=r OCL=26679 CL=26679
2009-03-17binary search on type switches.Ken Thompson1-1/+1
new feature 'case nil:' in type switch will match iff the interface is nil. R=r OCL=26404 CL=26404
2009-03-12make 6g constants behave as ken proposes. (i hope.)Russ Cox1-32/+16
various bug fixes and tests involving constants. test/const1.go is the major new test case. R=ken OCL=26216 CL=26224
2009-03-12chan flags close/closed installedKen Thompson1-0/+1
runtime not finished. R=r OCL=26217 CL=26217
2009-03-11added bitclear operators &^ and &^=Ken Thompson1-1/+2
R=r OCL=26152 CL=26152
2009-03-10Add support for a -I option. -I DIR searches for packages inIan Lance Taylor1-0/+9
DIR. R=ken,rsc DELTA=49 (41 added, 2 deleted, 6 changed) OCL=26057 CL=26092
2009-03-061. type switchesKen Thompson1-1/+2
2. fixed fault on bug128 3. got rid of typeof 4. fixed bug in t,ok = I2T R=r OCL=25873 CL=25873
2009-03-05new switch implementationKen Thompson1-2/+1
in preparation of type switch. no functional change (yet). R=r OCL=25784 CL=25788
2009-03-04reject invalid map key types at compile timeRuss Cox1-0/+1
R=ken OCL=25720 CL=25720
2009-03-03back to T{x}, stricter handling of T(x) vs x.(T)Russ Cox1-2/+2
R=ken DELTA=131 (60 added, 41 deleted, 30 changed) OCL=25617 CL=25633
2009-02-13add composite literal ( ) syntax.Russ Cox1-3/+7
warn about composite literal { } syntax. R=ken OCL=25018 CL=25023
2009-02-11require type assertions when narrowing.Russ Cox1-3/+3
R=ken OCL=24350 CL=24914
2009-02-07unsafe.Sizeof and unsafe.OffsetofKen Thompson1-0/+1
R=r OCL=24639 CL=24639
2009-02-06closures - 6g supportRuss Cox1-0/+14
R=ken OCL=24501 CL=24566
2009-02-05bug064Russ Cox1-2/+1
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-30update compiler to new func rulesRuss Cox1-1/+2
R=ken OCL=23958 CL=23961
2009-01-29if take address of local, move to heap.Russ Cox1-4/+18
heuristic to not print bogus strings. fix one error message format. R=ken OCL=23849 CL=23851
2009-01-27bug 135Ken Thompson1-0/+1
R=r OCL=23646 CL=23646
2009-01-27deferKen Thompson1-1/+2
R=r OCL=23592 CL=23592
2009-01-26assignment count mismatch: 2 = 1.Russ Cox1-0/+1
R=ken OCL=23534 CL=23534
2009-01-26bug134Russ Cox1-1/+1
R=ken OCL=23532 CL=23532
2009-01-26bug133Russ Cox1-0/+1
R=ken OCL=23528 CL=23528
2009-01-26implement new restrictions on whatRuss Cox1-4/+3
can be compared/hashed. R=r DELTA=351 (201 added, 80 deleted, 70 changed) OCL=23423 CL=23481
2009-01-21disallow P.t for lowercase t and not our package P.Russ Cox1-0/+1
implement hiding lowercase methods m in signatures by adding in a hash of the package name to the type hash code. remove remaining checks for internally-generated _ names: they are all gone. R=ken OCL=23236 CL=23238
2009-01-20* delete exportRuss Cox1-4/+3
* rename init functions R=ken OCL=23122 CL=23126
2009-01-16disallow other package's names in struct field dot.Russ Cox1-0/+1
R=ken OCL=22996 CL=22996
2009-01-15remove export name-list statement.Russ Cox1-2/+2
make package local the default. warn about name case not matching export keyword. R=ken OCL=22881 CL=22886
2009-01-09clean up automatic indirect, delete some dead code.Russ Cox1-6/+3
R=ken OCL=22454 CL=22457
2009-01-096g cleanup suggested by ken.Russ Cox1-0/+1
remove TPTR wrapper around TMAP, TCHAN, TSTRING. R=ken OCL=22406 CL=22409
2009-01-08second pass on interface fixes and tests.Russ Cox1-3/+6
R=ken OCL=22370 CL=22372
2009-01-08many interface bug fixes.Russ Cox1-3/+4
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[...] bugKen Thompson1-0/+1
R=r OCL=22218 CL=22218
2009-01-06make for slice/map/chanKen Thompson1-1/+2
new for pointers R=r OCL=22158 CL=22158
2009-01-05add comments and delete dead codeRuss Cox1-0/+2
R=ken OCL=22078 CL=22080
2008-12-30allow slices (open arrays) to beKen Thompson1-1/+1
receivers in methods. put back original code for hilbert/bignum R=r OCL=21910 CL=21920
2008-12-19[] and struct in interfaces.Russ Cox1-1/+1
other [] cleanup. convert() is gone. R=r DELTA=352 (144 added, 68 deleted, 140 changed) OCL=21660 CL=21662
2008-12-19portability bugKen Thompson1-14/+0
cant assign to closed array R=r OCL=21634 CL=21634
2008-12-19chan and map of [] and structRuss Cox1-0/+2
R=r DELTA=192 (145 added, 8 deleted, 39 changed) OCL=21609 CL=21614
2008-12-19new error messagesRuss Cox1-2/+2
x.go:11: illegal types for operand: AS *I *T (*interface vs *struct) R=r DELTA=10 (8 added, 0 deleted, 2 changed) OCL=21457 CL=21602
2008-12-18arraysKen Thompson1-4/+5
R=r OCL=21564 CL=21564
2008-12-15range clause must have = or :=Ken Thompson1-0/+1
:= illegal in for-increment R=r OCL=21204 CL=21204
2008-12-14even more code improvementKen Thompson1-0/+1
R=r OCL=21160 CL=21160
2008-12-12bug104Ken Thompson1-0/+1
R=r OCL=21082 CL=21082
2008-12-11only generate non-trivial signatures in theRuss Cox1-1/+1
file in which they occur. avoids duplicate trampoline generation across multiple files. R=ken OCL=20976 CL=20980
2008-12-09bug126Ken Thompson1-2/+2
R=r OCL=20879 CL=20879
2008-12-09robs bug converting unsafe.pointerKen Thompson1-0/+1
R=r OCL=20834 CL=20834
2008-12-08foundation for import unsafeKen Thompson1-1/+2
R=r OCL=20794 CL=20794
2008-12-06allowed syntax for rangeKen Thompson1-2/+2
a range m (implies :=) a,b range m (implies :=) a:b range m (implies :=) a := range m a,b := range m a:b := range m a = range m a,b = range m a:b = range m R=r OCL=20676 CL=20676
2008-12-05range statementKen Thompson1-0/+28
R=r OCL=20667 CL=20667
2008-12-04const/var/iota declarations as discussedKen Thompson1-0/+2
R=r OCL=20506 CL=20506