Ken Thompson
|
0f469a99a3
|
binary search on type switches.
new feature 'case nil:' in type switch
will match iff the interface is nil.
R=r
OCL=26404
CL=26404
|
2009-03-17 13:58:38 -07:00 |
|
Russ Cox
|
8f194bf5ff
|
make 6g constants behave as ken proposes. (i hope.)
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 19:04:38 -07:00 |
|
Ken Thompson
|
0c4f4587d7
|
bug with interaction of variables
declared in cases and heap allocation
R=r
OCL=26064
CL=26064
|
2009-03-10 16:49:34 -07:00 |
|
Ken Thompson
|
820f42d977
|
binary search for constant case statements.
R=r
OCL=25890
CL=25890
|
2009-03-07 17:33:42 -08:00 |
|
Ken Thompson
|
a4a10ed856
|
1. type switches
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-06 17:50:43 -08:00 |
|
Ken Thompson
|
bf983477a2
|
new switch implementation
in preparation of type switch.
no functional change (yet).
R=r
OCL=25784
CL=25788
|
2009-03-05 15:49:34 -08:00 |
|