Recurse arguments when getting error types for method calls