cmd/compile, cmd/link: relocation target go.builtin.error.Error not defined [1.11 backport] #29307
Milestone
Comments
Change https://golang.org/cl/154579 mentions this issue: |
Closed by merging a171e15 to release-branch.go1.11. |
gopherbot
pushed a commit
that referenced
this issue
Dec 17, 2018
…sion wrapper for error.Error A prior optimization (https://golang.org/cl/106175) removed the generation of unnecessary method expression wrappers, but also eliminated the generation of the wrapper for error.Error which was still required. Special-case error type in the optimization. Fixes #29307 Change-Id: I54c8afc88a2c6d1906afa2d09c68a0a3f3e2f1e3 Reviewed-on: https://go-review.googlesource.com/c/154578 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> (cherry picked from commit a1aafd8) Reviewed-on: https://go-review.googlesource.com/c/154579 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@bradfitz requested issue #29304 to be considered for backport to the next 1.11 minor release.
The text was updated successfully, but these errors were encountered: