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
After #524 it is possible to set breakpoint on type constructors but this fail when a type constructor is called with specific parameters:
julia>struct Constructor{T}
x::Tend
julia>breakpoint(Constructor)
Constructor
julia>@interpretConstructor{Int}(2) # no breakpointConstructor{Int64}(2)
julia>@interpretConstructor(2) # works
(Frame forConstructor(x::T) where T in Main at REPL[2]:2
b 121 ─ %1= Core.apply_type($(QuoteNode(Constructor)), $(Expr(:static_parameter, 1)))
22 │ %2= (%1)(x)
32 └── return%2
x =2
T = Int64
var = T
body = Constructor{T}, breakpoint(Constructor(x::T) where T in Main at REPL[2]:2, line 2))
Presumably, one wants to also break on Constructor{Int} when one adds a breakpoint to Constructor.
The text was updated successfully, but these errors were encountered:
After #524 it is possible to set breakpoint on type constructors but this fail when a type constructor is called with specific parameters:
Presumably, one wants to also break on
Constructor{Int}
when one adds a breakpoint toConstructor
.The text was updated successfully, but these errors were encountered: