Fix cloning trait structs via native clone method
authorMatt Corallo <git@bluematt.me>
Tue, 17 Aug 2021 22:15:55 +0000 (22:15 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 17 Aug 2021 22:15:55 +0000 (22:15 +0000)
commit43c61db973ad9947d5369e5a115202d78e147a82
tree4609fe8ddd24a62d02d27cbb1de86b074cd9f949
parentdb1a11032b4164540a2d3403696be12bbca70e94
Fix cloning trait structs via native clone method

When cloning a trait struct, we need to reference the
already-converted-to-struct value, not the original, integer,
value.
gen_type_mapping.py