You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The breakpoint on f below is only hit when called as f() and not as f(;x=1).
julia>using JuliaInterpreter
julia>f(;x=1) = x
f (generic function with 1 method)
julia>breakpoint(f)
f
julia>g() =f(; x=1)
g (generic function with 1 method)
julia>h() =f()
h (generic function with 1 method)
julia> frame = JuliaInterpreter.enter_call(g);
julia> JuliaInterpreter.debug_command(frame, :finish)
julia> frame = JuliaInterpreter.enter_call(h);
julia> JuliaInterpreter.debug_command(frame, :finish)
(Frame forf(; x) in Main at REPL[2]:1
b 111 ─ %1= (#f#3)(1, #self#)21 └── return%1
caller:h() in Main at REPL[5]:1, breakpoint(f(; x) in Main at REPL[2]:1, line 1))
Kwarg wrappers strikes again.
The text was updated successfully, but these errors were encountered:
Found by @fredrikekre
The breakpoint on
f
below is only hit when called asf()
and not asf(;x=1)
.Kwarg wrappers strikes again.
The text was updated successfully, but these errors were encountered: