Hello,
While trying the new support for callable structs (it works perfectly, thanks!), I found that methods with keyword arguments are not supported:
using RequiredInterfaces
abstract type CallableAbstract end
@required CallableAbstract begin
(c::CallableAbstract)(; kwargs...)
end
throws an error: ERROR: LoadError: ArgumentError: Invalid required function!.
Is there a way to make it work?
Hello,
While trying the new support for callable structs (it works perfectly, thanks!), I found that methods with keyword arguments are not supported:
throws an error:
ERROR: LoadError: ArgumentError: Invalid required function!.Is there a way to make it work?