We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9d6627 commit b71da5aCopy full SHA for b71da5a
src/breakpoints.jl
@@ -188,16 +188,10 @@ function shouldbreak(frame::Frame, pc::Int)
188
end
189
190
function prepare_slotfunction(framecode::FrameCode, body::Union{Symbol,Expr})
191
- uslotnames = Set{Symbol}()
192
framename, dataname = gensym("frame"), gensym("data")
193
assignments = Expr[:($dataname = $framename.framedata)]
194
default = Unassigned()
195
- for slotname in framecode.src.slotnames
196
- if slotname ∉ uslotnames
197
- push!(uslotnames, slotname)
198
- else
199
- continue
200
- end
+ for slotname in unique(framecode.src.slotnames)
201
list = framecode.slotnamelists[slotname]
202
if length(list) == 1
203
maxexpr = :($dataname.last_reference[$(list[1])] > 0 ? $(list[1]) : 0)
0 commit comments