Fix infinite loop with invalid arguments.

1 job for 317875-fix-infinite-loop-with-invalid-type-arguments in 10 minutes and 19 seconds (queued for 1 second)