mirror of
https://github.com/golang/go
synced 2024-11-18 19:54:44 -07:00
27b81bef4a
If there are less than 3 args for @item, it does an early return without recording it for a given pos. This leads to a panic when tests runner can't lookup a non-nil item for a pos. Since other collect* methods seem to use t.Fatal for error handling, do the same in collectCompletionItems(). Change-Id: I21960731f532b93029e6e06800e0484dc7d599df Reviewed-on: https://go-review.googlesource.com/c/tools/+/211257 Run-TryBot: Iskander Sharipov <quasilyte@gmail.com> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
completion.go | ||
diagnostics.go | ||
links.go | ||
tests_cgo.go | ||
tests.go |