cmd/compile: move most (*Type).IsFoo methods to (EType).IsFoo #16929
In type.go, we have a bunch of helper methods like IsInteger, IsSigned, IsPtrShaped, etc. that currently can only be used on specific types (i.e.,
I think we should change Type's
Some need to stay on
It's a bit redundant for the single-kind methods like IsMap to be moved to EType, but for consistency we might as well move them too.
Filing as an issue in case anyone objects or has alternative proposals.
The text was updated successfully, but these errors were encountered: