aboutsummaryrefslogtreecommitdiff
path: root/src/errors
diff options
context:
space:
mode:
authorCuong Manh Le <cuong.manhle.vn@gmail.com>2020-10-19 18:32:15 +0700
committerCuong Manh Le <cuong.manhle.vn@gmail.com>2020-10-20 02:05:01 +0000
commitbccdd31252c9771ef2e8dae0402251163a081b56 (patch)
treece0647d8d131c4b2256c97c4fbe7a7fdaa982f08 /src/errors
parenta505312c89a0468081173da3042de6ac8582a3ba (diff)
downloadgo-bccdd31252c9771ef2e8dae0402251163a081b56.tar.xz
cmd/compile: use type position for error message in align.go
This helps the compiler reports the right place where the type declared, instead of relying on global lineno, which maybe set to wrong value at the time the error is reported. Fixes #42058 Change-Id: I06d34aa9b0236d122f4a0d72e66675ded022baac Reviewed-on: https://go-review.googlesource.com/c/go/+/263597 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/errors')
0 files changed, 0 insertions, 0 deletions