mirror of
https://github.com/golang/go
synced 2024-11-18 09:04:49 -07:00
7017fd6b13
There was a bug in the hover for type switch variables. For example: var x interface{} switch y := x.(type) { case string: case int: } Hovering over y would previously show "var y string", because y's object would be mapped to the first types.Object in the type switch. Now we show the hover for y as "var y interface{}", since it's not yet in the cases. Change-Id: Ia9bd0afc4ddbb9d33bbd0c78fa32ffa75836a326 Reviewed-on: https://go-review.googlesource.com/c/tools/+/244497 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
---|---|---|
.. | ||
analysisinternal | ||
apidiff | ||
event | ||
fakenet | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
proxydir | ||
span | ||
stack | ||
testenv | ||
tool | ||
typesinternal | ||
xcontext |