-
Notifications
You must be signed in to change notification settings - Fork 2k
fix Compile Error #19
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
Conversation
composite struct literal encoding/asn1.ObjectIdentifier with unkeyed fields
Hi! Thanks for the PR! Unfortunately, the Go project doesn't use GitHub's Pull Requests, The good news is, I'm here to help. From here, you have two options:
I'm going to close this Pull Request now. Thanks again, GopherBot (on behalf of the Go Team) |
I'm confused. According to https://build.golang.org/ , the crypto subrepo is building fine. |
I fixed this issue. disccussion: The fix for the composite error involved changing from this:
to this:
|
Sounds like a bug elsewhere, not in the crypto repo. |
@bradfitz Please tell me the reason why only the code from line 140 to 151 is different from the codes of other places. If you think that you do not need to specify []int, why do not you remove all? You will get errors. crypto/ocsp/ocsp.go: 140-151
crypto/ocsp/ocsp.go: 26
crypto/ocsp/ocsp.go: 155-158
|
Both ways are valid ways to write it in Go. The bug is that App Engine uses /cc @josharian @zombiezen |
Oh, this is a dup of golang/go#9171 This was already fixed. App Engine just needs an update. |
thanks alot @koba-ninkigumi @bradfitz 😄
and in the latest version of app engine is 1.9.46:
it turns out to be issue in go1.6 but it's as @bradfitz says it already fixed but we should wait until go app engine sdk upgrade to go1.7 😞 |
composite struct literal encoding/asn1.ObjectIdentifier with unkeyed fields