How do you invoke a method (like a specific method, not a function)?
julia> func(a) =5
func (generic function with 1 method)
julia> meth = first(methods(func))
func(a) in Main at REPL[83]:1
julia> meth(1)
ERROR: MethodError: objects of type Method are not callable
Stacktrace:
[1] top-level scope
@ REPL[85]:1
[2] eval
@ .\boot.jl:360 [inlined]
Note that the original poster on Slack cannot see your response here on Discourse. Consider transcribing the appropriate answer back to Slack, or pinging the poster here on Discourse so they can follow this thread.
(Original message ) (More Info)