]> Cypherpunks repositories - gostls13.git/commit
Implement array types and index expressions.
authorAustin Clements <aclements@csail.mit.edu>
Tue, 21 Jul 2009 00:41:40 +0000 (17:41 -0700)
committerAustin Clements <aclements@csail.mit.edu>
Tue, 21 Jul 2009 00:41:40 +0000 (17:41 -0700)
commit79fac7ca8677ed634fa5652c9ad451e0f5a2112c
tree139c63f8c334e89d77b4da65cd6aee2ff27ca0ab
parent1d51978feda36d03fd6548f870220aa29ec46ff3
Implement array types and index expressions.

Some cleanup.  Elem() on PtrType is now just Elem and matches
with ArrayType.  Generators now switch over the result type
instead of the operand type.  Delete unused diag function.

R=rsc
APPROVED=rsc
DELTA=281  (219 added, 18 deleted, 44 changed)
OCL=31876
CL=31891
usr/austin/eval/decls.go
usr/austin/eval/expr.go
usr/austin/eval/type.go
usr/austin/eval/util.go
usr/austin/eval/value.go