Mojo Feature Request: Generate Clone method for Structs with custom types |
||
Issue descriptionI noticed that a Clone method is not generated for Structs with Custom Types. It would be nice if we could implement a Clone method for our Custom Types, have the code generator check if the Clone method was implemented and generate the Clone method for the Struct containing the type.
,
May 31 2016
Sam's patch does solve our problem. The Clone method in StructTraits might be useful for other people, but Sam's patch is enough to solve our problem. I'll leave it up to you to decide if you want to close this issue.
,
May 31 2016
Thanks for the update and glad that it fixes your problem. |
||
►
Sign in to add a comment |
||
Comment 1 by yzshen@chromium.org
, May 31 2016