Skip to content

Commit

Permalink
Merge pull request #26 from RelationalAI-oss/nhd-salsa-stack-fix-prin…
Browse files Browse the repository at this point in the history
…ting

Fix bug in Salsa stack trace printing: off-by-one
  • Loading branch information
NHDaly authored Jul 5, 2020
2 parents 6188235 + 1f76ead commit 251be45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Salsa.jl
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ end
function Base.collect(stack::SalsaStackFrame)
out = DependencyKey[stack.dp]
while stack.next !== nothing
push!(out, stack.dp)
stack = stack.next
push!(out, stack.dp)
end
return out
end
Expand Down

0 comments on commit 251be45

Please sign in to comment.