• Eric Myhre's avatar
    schema: clear up some things about TypeName vs TypeReference. · b6009032
    Eric Myhre authored
    Both are now accessible.  Name is not always present.
    
    Get rid of casts that are unnecessary.
    
    Constructors for anonymous types are still upcoming;
    all the current constructors dupe the name into the reference field.
    Planning to add distinct methods on the Compiler for anon types.
    b6009032
type.go 4.4 KB