opened 02:03PM - 17 Oct 25 UTC
I have a case where I get stuck in an infinite loop here
https://github.com/Juli…aDebug/SnoopCompile.jl/blob/a0a03f3b2943a6275cd58aa3dec64d172bda264e/SnoopCompileCore/src/snoop_inference.jl#L127-L155
I think what's happening is that `be ∉ handled` is true the first time it is tested, for `k == j`. That means that `j` never increments, and the loop never ends. I don't understand what's being done here, but if I change line 137 to
```julia
k ≤ j && continue # don't get caught in cycles
```
instead of `k < j`, then there's no infinite loop, and the output looks reasonable. Is this a correct fix?