Branch Does Not Get Canceled

Summary

After the 10 seconds sleep, the branch expression is not getting canceled

OnBegin<override>()<suspends> : void =
    block:
        branch:
            loop:
                Print("Branch")
                Sleep(1.0)
        Sleep(10.0)
    Sleep(Inf)

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

Run the code above

Expected Result

The branch expression should get canceled after the 10 seconds.

Observed Result

The branch expression continues to run (“Branch” continues to be printed).

Platform(s)

PC

Additional Notes

If the OnBegin finishes [when removing Sleep(Inf)], the branch gets canceled.

FORT-1133207 has been created and its status is ‘Unconfirmed’. This is now in a queue to be reproduced and confirmed.