julia> function f(::f) where f
f
end
f (generic function with 0 methods)
julia> function g(::f) where f
f
end
g (generic function with 1 method)
Why does the first definition fail to work while the second does? I mean why does the first one have no methods?