• Felix Lange's avatar
    rlp: allow encoding non-empty interface values · fc92abec
    Felix Lange authored
    This needs to be supported because []someInterface does occur sometimes.
    
    Funny enough, the fix involves changes to the decoder. makeDecoder
    cannot return an error for non-empty interfaces anymore because the type
    cache builds both decoder and writer. Do the check at 'runtime' instead.
    fc92abec
Name
Last commit
Last update
..
decode.go Loading commit data...
decode_test.go Loading commit data...
doc.go Loading commit data...
encode.go Loading commit data...
encode_test.go Loading commit data...
encoder_example_test.go Loading commit data...
typecache.go Loading commit data...