Allow method signatures containing open types to be cached if all the generic parameters are positional parameters belonging to the method being called.
Visit nested functions in the signature cacher since signature caching doesn't mutate the AST. Fixes signature caching inside lambdas.