spec: rules for index expressions, len, cap, with type parameter types
We want to support some special cases for index expressions, len, and cap on operands of type parameters (such as indexing a value constrained by byte slices and strings), hence the extra rules. Change-Id: I4a07dc7e64bb47361b021d606c52eae1784d5430 Reviewed-on: https://go-review.googlesource.com/c/go/+/366814 Trust: Robert Griesemer <gri@golang.org> Trust: Dan Scales <danscales@google.com> Reviewed-by:Dan Scales <danscales@google.com>
Loading
Please sign in to comment