For this case, it can infer everything. It does not yet optimize successfully the loop without crashes.
But it's been almost 5 years that the Sista project has been going on. When I started, there was already a prototype. It took 3 years to get benchmarks running with little speed-ups. It took a 4th year to get benchmarks showing 2x performance boost and have a benchmark at 10x to show the potential of Scorch. There is still so much to do to get it to production...
Specifically, there are specificities to our closures: we don't have LIFO closure like Lars' Smalltalks, we have a reference to outerContext unlike Javascript, etc. That's a problem mostly solved with FullBlocks but there's still so much work to do there.
I don't know if on the short term we should take decisions on how to write code in our code bases based on Scorch.