mirror of
https://github.com/golang/go
synced 2024-11-18 21:44:45 -07:00
dbc83e6dc0
typeIsValid() intended to stop on a named type, but since we called Underlying(), switch case never caught any named type. To avoid that, do an early check. Fixes golang/go#36637 Change-Id: I2700afbb8f9678b4542e2e7dccc3be59b1d9ebdf Reviewed-on: https://go-review.googlesource.com/c/tools/+/215238 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
apidiff | ||
fastwalk | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
module | ||
packagesinternal | ||
semver | ||
span | ||
telemetry | ||
testenv | ||
tool | ||
xcontext |