1
0
mirror of https://github.com/golang/go synced 2024-11-26 03:37:57 -07:00
Commit Graph

6 Commits

Author SHA1 Message Date
Austin Clements
cbcd146f5d s/switch _ :=/switch/
R=rsc
APPROVED=rsc
DELTA=36  (0 added, 0 deleted, 36 changed)
OCL=34971
CL=35006
2009-09-25 09:37:35 -07:00
Austin Clements
da4a22993e Fix declared and not used errors and unused import errors in
the interpreter and update code to use ast.BasicDecl and
multi-type switch.  There are still a lot of "switch _ :=
x.(type)" that should make use of the new type switch syntax,
but those will be a different CL.

R=rsc
APPROVED=rsc
DELTA=58  (16 added, 23 deleted, 19 changed)
OCL=34853
CL=34963
2009-09-24 08:25:14 -07:00
Austin Clements
c7d27f88f8 Make world.Define{Const,Var} indicate if the definition was
successful.

R=rsc
APPROVED=rsc
DELTA=43  (31 added, 0 deleted, 12 changed)
OCL=34375
CL=34397
2009-09-04 12:55:25 -07:00
Russ Cox
920c6106ca top-level func
R=austin
DELTA=21  (5 added, 10 deleted, 6 changed)
OCL=34355
CL=34355
2009-09-03 17:22:20 -07:00
Russ Cox
dcb1c5f5d4 convert testing to World.
start on Decl, but not working yet

R=austin
DELTA=762  (201 added, 205 deleted, 356 changed)
OCL=34335
CL=34349
2009-09-03 16:20:49 -07:00
Russ Cox
c9edbbd4d0 convenience wrapper
R=austin
DELTA=142  (128 added, 4 deleted, 10 changed)
OCL=34275
CL=34284
2009-09-02 17:15:43 -07:00