Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
core/description: Work around go-yaml limitation under Go 1.6 #4766
Conversation
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
added a commit
that referenced
this pull request
Mar 17, 2016
jujubot
merged commit 66b624d
into
juju:model-migration
Mar 17, 2016
mjs
deleted the
mjs:core-decription-go16-workaround
branch
Oct 5, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mjs commentedMar 17, 2016
Under Go 1.6, go-yaml panics when it encounters private embedded
types. This is fine in older Go versions and is even fine on Go 1.6
with encoding/json's serialization. go-yaml needs changing and I have
some idea of the changes required but I don't have the time to make
the changes nor them merged upstream. The YAML format produced is
unaffected by this change.
For now, various private embedded types have been made public. This
can be reversed at some point in the future.
This issue is a non-obvious side-effect of
https://golang.org/doc/go1.6#reflect.
(Review request: http://reviews.vapour.ws/r/4206/)