• Eric Myhre's avatar
    Support maybe implemented using ptr. · 255bbc57
    Eric Myhre authored
    Easier than previous commit message seemed to think.
    
    Since we already have finishCallback functions in play in any scene
    where maybes can also be in play, we can just make those responsible
    for copying out a pointer from the child assembler to the parent value.
    That makes the child assembler able to create a new value late in
    its lifecycle and still expect it can land in a proper home.
    
    Tests needed badly; this is *oodles* of edge cases.
    Unrelated fix needed first.  (Might make that elsewhere and rebase
    this to include that, to reduce the carnage ever so slightly.)
    255bbc57
genStruct.go 19.1 KB