mirror of
https://github.com/golang/go
synced 2024-11-18 18:44:42 -07:00
49a3e744a4
In a previous change I inadvertently added completion candidates like: var f func(int) f = <> // useless candidate "func(int)(<>)" Ignoring the fact it is a syntax error without more parens around the signature, it isn't a useful candidate because you don't need to cast when assigning a named signature type to an unnamed type. Change-Id: Ic261817af344ee47193240a11dca5d3a32cbd293 Reviewed-on: https://go-review.googlesource.com/c/tools/+/211319 Run-TryBot: Muir Manders <muir@mnd.rs> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
literal_snippets.go.in | ||
snippets.go.golden | ||
snippets.go.in |