mirror of https://github.com/golang/go.git
The IndexExprData type of internal/typeparams was redundant now that the typeparams.IndexListExpr type has been introduced. Remove it, and change GetIndexExprData to an UnpackIndexExpr method, symmetric with PackIndexExpr. With the IndexListExpr type, both UnpackIndexExpr and PackIndexExpr can be moved to common.go. Change-Id: I6c31f52ab594175decfbd1a4cd94b60a23a1e629 Reviewed-on: https://go-review.googlesource.com/c/tools/+/377235 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Tim King <taking@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| fillreturns | ||
| fillstruct | ||
| infertypeargs | ||
| nonewvars | ||
| noresultvalues | ||
| simplifycompositelit | ||
| simplifyrange | ||
| simplifyslice | ||
| undeclaredname | ||
| unusedparams | ||
| useany | ||