Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bson: Fix for ,inline-d structs of unexported embedded for Go 1.6. #228

Merged
merged 2 commits into from
Mar 16, 2016

Conversation

liviosoares
Copy link
Contributor

Addresses issue #227

Livio Soares added 2 commits February 23, 2016 08:38
This test is currently breaking with Go 1.6 due to changes in the `reflect` package.
Simply apply the recommendations described in the release document:
https://golang.org/doc/go1.6#reflect

To modify this check `f.PkgPath != ""` to this check `f.PkgPath != "" && !f.Anonymous`.
@liviosoares liviosoares changed the title bon: Fix for ,inline-d structs of unexported embedded for Go 1.6. bson: Fix for ,inline-d structs of unexported embedded for Go 1.6. Mar 1, 2016
@rdallman
Copy link

rdallman commented Mar 4, 2016

+1, thanks!

@NickCSardo
Copy link

Anything blocking this? +1

@niemeyer
Copy link
Contributor

niemeyer commented Mar 7, 2016

No, it's definitely going in. I've just been giving the test harness and CI some love last week.

niemeyer added a commit that referenced this pull request Mar 16, 2016
bson: Fix for ,inline-d structs of unexported embedded for Go 1.6.
@niemeyer niemeyer merged commit 794c943 into go-mgo:v2-unstable Mar 16, 2016
@niemeyer
Copy link
Contributor

Thanks @liviosoares

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants