I'm using Julia v0.4.2 and I can't compute the length of what m.sig returns:

julia> function f(x)
       end

julia> for m in methods(f)
         println(length(m.sig))
       end
ERROR: MethodError: `length` has no method matching length(::Type{Tuple{
Int64,Int64}})

Since I'm trying to use the function length on a Type, and not on an 
instance of said Type. How can I do that?

Many thanks,

Reply via email to