That's fine, though my example was for a pointer to a slice of a
non-pointer type. Regardless of the type of the slice elements, it
evaluates the slice expression first, then the pointer dereference on the
result of the expression.
It's not the behavior that concerns me though, it's that it's *
Consider
var x *[N]*T
What is the type of *x[0]? *T or T? Only the parentheses can disambiguate
it: (*x)[0] vs *(x[0]).
On Thu, Jul 20, 2017, 00:28 wrote:
> A question on Stack Overflow led me to carefully examine the spec and I
> feel like there may be some detail that's missing - the behavio