I found a stack overflow when running bisect on the code base of Frama-C. This PR replaces a try catch with a match exception to avoid stacking try contexts. I would probably be better to make the function tail recursive though, but I don't know when I can do it. Ok, I miss-used the [@tailcall], now it is tailrec.
I found a stack overflow when running bisect on the code base of Frama-C. This PR replaces a try catch with a match exception to avoid stacking try contexts.
I would probably be better to make the function tail recursive though, but I don't know when I can do it.Ok, I miss-used the[@tailcall]
, now it is tailrec.