Hi, I think when foo is instantiated only with float it should not warn, but if foo is instantiated with int,float, etc.. it is a valid warnings
I’m sorry that it takes long to proceed: we have far more bugs/edge cases that we can fix. If the check is not too old, may be good to ping the original author in case he wants to maintain/improve the check.