Fixed generated unmarshalling of ints with custom types.#46
Fixed generated unmarshalling of ints with custom types.#46petermattis wants to merge 1 commit intogogo:masterfrom
Conversation
|
CustomType currently only works for bytes. PS |
|
I think my main problem was something with NewPopulated. |
5faaa93 to
c67b64c
Compare
|
Oops, removed the usage of the I'll add a comment to #36 which is the exact issue this PR is addressing. |
|
Cool :) On 16 April 2015 at 15:14, Peter Mattis notifications@github.com wrote:
|
|
I hope the proposed casttype will fix this issue for you? |
|
Please open again if you think this is still relevant. |
Previously the generated code wouldn't even compile. Not sure if this is the right approach. Note that the
MarshalandUnmarshalmethods are never called for int wire types when using the generated marshaler and unmarshaler.