aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2019-09-24 23:56:50 -0700
committerMatthew Dempsky <mdempsky@google.com>2019-09-25 17:07:09 +0000
commitefb9739203fc0b66f5593c5edbe0bc0fd6062956 (patch)
treecb646e4e30298ea902f9fc6f8741d3c47ca41542 /src/cmd/internal/obj
parent3e428363c4b793c552925703f206b9382fdfcb51 (diff)
downloadgo-efb9739203fc0b66f5593c5edbe0bc0fd6062956.tar.xz
cmd/compile: use underlying OCOMPLIT's position for OPTRLIT
Currently, when we create an OPTRLIT node, it defaults to the OCOMPLIT's final element's position. But it improves error messages to use the OCOMPLIT's own position instead. Change-Id: Ibb031f543c7248d88d99fd0737685e01d86e2500 Reviewed-on: https://go-review.googlesource.com/c/go/+/197119 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/internal/obj')
0 files changed, 0 insertions, 0 deletions