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

cmp: make retrieveUnexportedField pass Go 1.14's upcoming checkptr validation #169

Merged
merged 1 commit into from
Oct 28, 2019

Conversation

bradfitz
Copy link
Contributor

Fixes #167

@bradfitz
Copy link
Contributor Author

/cc @dsnet @mdempsky

Copy link
Collaborator

@dsnet dsnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dsnet dsnet merged commit 481baca into google:master Oct 28, 2019
mpvl pushed a commit to cuelang/cue that referenced this pull request Jan 24, 2020
Currently, test is failed on go devel (at least 641e61db57) because will run checkptr when go test and
which is caused by go-cmp package.
It has been fixed on google/go-cmp#169, Update go-cmp package to latest release.

test result:
  === RUN   TestLiterals/0/"0"
  fatal error: checkptr: unsafe pointer arithmetic

run:
  $ go get -u -d github.com/google/go-cmp@latest
  $ go mod tidy

Change-Id: I7881e6c08fa3edb17b10b8b6f5a5e699211a9299
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/4641
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

retrieveUnexportedField violates Go 1.14's checkptr validation, fails under -race
2 participants