toit icon indicating copy to clipboard operation
toit copied to clipboard

Propagated types are incorrect for non-local branches

Open kasperl opened this issue 8 months ago • 0 comments

The type propagator does not correctly merge local types in the presence of non-local branches (break or continue out of blocks). Any changes to local types at the branch point are forgotten instead of being merged to the statically-known branch target

This is the reason we currently skip tests/finally-params-test.toit when testing the type propagator.

kasperl avatar May 13 '25 06:05 kasperl