Mocking does not support kwarg defaults referencing args
Closed this issue · 0 comments
iamed2 commented
julia> using Mocking
julia> function f(x; y=x)
(x, x, y, y)
end
f (generic function with 1 method)
julia> p = @patch function f(x; y=x)
(x, x, y, y)
end
ERROR: UndefVarError: x not defined