Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Anonymous embedded structs aren't supported #77

Open
stevvooe opened this issue Dec 3, 2014 · 2 comments
Open

Anonymous embedded structs aren't supported #77

stevvooe opened this issue Dec 3, 2014 · 2 comments
Labels
Milestone

Comments

@stevvooe
Copy link

stevvooe commented Dec 3, 2014

It seems when using anonymous embedded structs, field values are not transmitted. For example, given the following types:

type B struct {
    I int
}

type A struct {
    B
    J int
}

If A is sent on a channel, values for the anonymously embedded B struct are not sent.

@stevvooe stevvooe added the bug label Dec 3, 2014
@dmcgowan dmcgowan added this to the v0.2.0 milestone Feb 17, 2015
@Shelnutt2
Copy link

Is this still an issue? I went to add a unit test to track this down and it appears to work.

Shelnutt2@6a229ba

@dmcgowan
Copy link
Contributor

I do expect this to work as well with the latest encoding change. I would try to make this test work with the spdy package since that will hit the encoder. The in mem should not be a problem since it is only passing along a reference.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants