• Austin Clements's avatar
    Implement array types and index expressions. · 79fac7ca
    Austin Clements authored
    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
    79fac7ca
type.go 8.3 KB