Wrong detection of function name when a closure uses a typehint for the first argument