mirror of
https://github.com/golang/go
synced 2024-11-18 10:54:40 -07:00
7af746645d
The current tests contain a bug in the priming of funnyString; the subslicing leaves the resulting content slice with a capacity greater than its length. This allowed a bug ToUTF16Column to sneak through where we were not using 0-based column as the offset within the line. Fix the priming of funnyString, and fix the implementation of ToUTF16Column. Change-Id: I2618878d85bba26f52f99a3fc136ad21fe198dfc Reviewed-on: https://go-review.googlesource.com/c/tools/+/174357 Reviewed-by: Ian Cottrell <iancottrell@google.com> Run-TryBot: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
apidiff | ||
fastwalk | ||
gopathwalk | ||
jsonrpc2 | ||
lsp | ||
module | ||
semver | ||
span | ||
tool | ||
txtar |