go/types: fix internal inInteger operand predicate
When testing if a value is an integer, if the value is a constant, don't ignore the type if it has one. Fixes #11594. Change-Id: I2ff387e4f9e8ab7cae35c4838350e0a1fce2e625 Reviewed-on: https://go-review.googlesource.com/12045Reviewed-by:Alan Donovan <adonovan@google.com>
Showing
Please register or sign in to comment