Avoid forcing int and float type variables in early vtable resolution

This is a request for feedback. This addresses #10436, but I am not sure whether this is the right direction.