Is this `Test.detect_unbound_args` result valid or a bug?

It’s definitely annoying. I don’t even know how to call the second method with an empty tuple using invoke.

If you want to avoid it, instead write

f(::Tuple{F,Vararg{F,nMinus1}}) where {F,nMinus1} = ...

I do this. detect_unbound_args is useful, but less so now that you get warnings during precompilation.

3 Likes