- 06 Jul, 2009 12 commits
-
-
Russ Cox authored
package main func main() { var x interface {} = 42; switch x := x.(type) { case int: case foo: } } before: x.go:7: non-type case in type switch x.go:7: inappropriate case for a type switch now: x.go:7: foo: undefined R=ken OCL=31221 CL=31221
-
Russ Cox authored
R=r DELTA=179 (172 added, 6 deleted, 1 changed) OCL=31215 CL=31220
-
Russ Cox authored
package main func main() { var x interface{}; switch x { case 41: case "b": } } before: x.go:5: fatal error: exprcmp now: x.go:5: illegal types for operand: EQ interface { } int x.go:6: illegal types for operand: EQ interface { } string R=ken OCL=31217 CL=31219
-
Russ Cox authored
* use structs instead of interfaces * compiler lays out data structures ahead of time, so no more parsing of strings. * unified reflect data structures with interface runtime data structures. * richer data structures should enable reflection on chans and maps, but not implemented here. R=r,iant DELTA=1179 (1179 added, 0 deleted, 0 changed) OCL=31107 CL=31213
-
Rob Pike authored
R=rsc DELTA=248 (40 added, 108 deleted, 100 changed) OCL=31211 CL=31211
-
Robert Griesemer authored
- display: show '...' if a struct/interface has fields/methods removed; show struct/interface w/o {}'s if all fields/methods were removed; and show the {}'s if the struct/interface was empty to begin with R=rsc DELTA=41 (36 added, 0 deleted, 5 changed) OCL=31201 CL=31204
-
Rob Pike authored
R=rsc DELTA=4 (4 added, 0 deleted, 0 changed) OCL=31192 CL=31198
-
Robert Griesemer authored
- use FilterExports instead of the various predicates in printer.go and doc.go which simplifies a lot of code and makes it easier to deal with complex cases R=rsc DELTA=445 (197 added, 190 deleted, 58 changed) OCL=31110 CL=31196
-
Kai Backman authored
R=rsc APPROVED=rsc DELTA=7 (0 added, 1 deleted, 6 changed) OCL=31189 CL=31191
-
Russ Cox authored
R=ken OCL=31190 CL=31190
-
Kai Backman authored
8bit and 16bit, some optoas, replaced Addr.index with Addr.name empty function compiles, mutex compiles R=rsc APPROVED=rsc DELTA=908 (83 added, 41 deleted, 784 changed) OCL=31127 CL=31188
-
Kai Backman authored
R=rsc APPROVED=rsc DELTA=48 (30 added, 16 deleted, 2 changed) OCL=31152 CL=31187
-
- 05 Jul, 2009 1 commit
-
-
David Symonds authored
R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31151 CL=31168
-
- 04 Jul, 2009 1 commit
-
-
Ken Thompson authored
R=r OCL=31156 CL=31156
-
- 03 Jul, 2009 10 commits
-
-
Russ Cox authored
R=ken OCL=31149 CL=31149
-
Russ Cox authored
R=r,iant DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31146 CL=31148
-
Rob Pike authored
R=rsc DELTA=77 (76 added, 0 deleted, 1 changed) OCL=31147 CL=31147
-
Russ Cox authored
fix tests of bad map keys to use slices instead. R=r DELTA=7 (0 added, 1 deleted, 6 changed) OCL=31123 CL=31145
-
Russ Cox authored
alignment issue is fixed. R=ken OCL=31124 CL=31144
-
Kai Backman authored
R=rsc APPROVED=rsc DELTA=28 (28 added, 0 deleted, 0 changed) OCL=31128 CL=31130
-
Kai Backman authored
R=rsc APPROVED=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=31016 CL=31126
-
Russ Cox authored
R=ken OCL=31125 CL=31125
-
Rob Pike authored
R=rsc DELTA=59 (44 added, 13 deleted, 2 changed) OCL=31105 CL=31105
-
Rob Pike authored
R=rsc DELTA=57 (34 added, 10 deleted, 13 changed) OCL=31098 CL=31101
-
- 02 Jul, 2009 15 commits
-
-
Russ Cox authored
R=r DELTA=113 (89 added, 9 deleted, 15 changed) OCL=31087 CL=31096
-
Rob Pike authored
(actually slices encode but do not decode yet) R=rsc DELTA=221 (82 added, 65 deleted, 74 changed) OCL=31095 CL=31095
-
Rob Pike authored
R=rsc DELTA=18 (3 added, 0 deleted, 15 changed) OCL=31086 CL=31094
-
Russ Cox authored
R=r DELTA=28 (5 added, 0 deleted, 23 changed) OCL=31093 CL=31093
-
Ian Lance Taylor authored
bug022.go:8:13: error: attempt to index object which is not array, string, or map R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31082 CL=31089
-
Ian Lance Taylor authored
(Amusing side note: the GNU coding standards say: Please do not use the term "illegal" to refer to erroneous input to a computer program. Please use "invalid" for this, and reserve the term "illegal" for activities prohibited by law.) indirect1.go:35:3: error: argument must be string or array or slice or map indirect1.go:36:3: error: argument must be string or array or slice or map indirect1.go:38:3: error: argument must be string or array or slice or map indirect1.go:41:3: error: argument must be string or array or slice or map indirect1.go:42:3: error: argument must be string or array or slice or map indirect1.go:44:3: error: argument must be string or array or slice or map indirect1.go:55:3: error: argument must be string or array or slice or map indirect1.go:56:3: error: argument must be string or array or slice or map indirect1.go:58:3: error: argument must be string or array or slice or map indirect1.go:61:3: error: argument must be array or slice indirect1.go:62:3: error: argument must be array or slice indirect1.go:64:3: error: argument must be array or slice R=rsc DELTA=12 (0 added, 0 deleted, 12 changed) OCL=31081 CL=31088
-
Robert Griesemer authored
- remove a test case w/ syntax errors from test suite R=rsc DELTA=104 (44 added, 5 deleted, 55 changed) OCL=31078 CL=31085
-
Rob Pike authored
fix a bug in delta encoding: only update the delta-base if something is marshaled. R=rsc DELTA=154 (94 added, 56 deleted, 4 changed) OCL=31069 CL=31071
-
Rob Pike authored
R=rsc DELTA=165 (145 added, 6 deleted, 14 changed) OCL=31051 CL=31056
-
Rob Pike authored
R=gri OCL=31047 CL=31047
-
Rob Pike authored
R=rsc DELTA=562 (8 added, 424 deleted, 130 changed) OCL=31039 CL=31045
-
Rob Pike authored
if there is an error, we will write one more value into the struct but in return we do fewer tests in the decode. R=rsc DELTA=56 (0 added, 42 deleted, 14 changed) OCL=31041 CL=31044
-
Rob Pike authored
write indirection test. next step: cut down scalar tests since indirection is centralized. R=rsc DELTA=114 (83 added, 3 deleted, 28 changed) OCL=31020 CL=31037
-
Rob Pike authored
R=rsc DELTA=574 (40 added, 149 deleted, 385 changed) OCL=31017 CL=31019
-
Rob Pike authored
R=rsc DELTA=468 (292 added, 18 deleted, 158 changed) OCL=31008 CL=31012
-
- 01 Jul, 2009 1 commit
-
-
Russ Cox authored
first field were not being handled correctly because the visited map did not include the type. R=r OCL=31006 CL=31006
-