cmd/compile: typeparams: ++ operator doesn't instantiate correctly #47258
I think the
Not sure why there are two errors also.
The text was updated successfully, but these errors were encountered:
gopherbot pushed a commit that referenced this issue
Jul 21, 2021
…h generic type types2 will have already proved the expression's type is compatible, so just assign the one const to have the same type as the operand. Fixes #47258. Change-Id: If0844e6bf6d0a5e6b11453b87df71353863ccc5d Reviewed-on: https://go-review.googlesource.com/c/go/+/336009 Run-TryBot: Dan Scales <email@example.com> TryBot-Result: Go Bot <firstname.lastname@example.org> Reviewed-by: Keith Randall <email@example.com> Trust: Dan Scales <firstname.lastname@example.org>