• Eric Myhre's avatar
    Cut gordian knot. · ff43f7af
    Eric Myhre authored
    I'm solving the decorum problem by making "temporary" builder methods for the
    schema.Type values as necessary.  This will allow the gengo package to use
    them freely for now.  When we're done with all this, I want to restrict building
    of schema.Type values to a single method in the schema package which takes the
    "ast" types -- the ones we're hoping to codegen (!) -- and do lots of checks
    and cross-linking; the temporary builder methods will do *none*, and *of course*
    they can't take the "ast" types yet since they don't exist yet.
    
    Boom, cycle broken.
    
    Also: fix generateStringKind from taking a TypeName redundantly.
    ff43f7af
tmpBuilders.go 860 Bytes