Is it not possible to return from a loop expression within a failable function?

The following code will result in an error Explicit return out of a failure context is not allowed

Test02(X:[]int)<transacts><decides>:void = 
    for(Y:X):
        return
    false?

image

Is it not possible to return from a loop expression within a failable function?
If so, why is that?

More Info.
image
I think it is just a bug.

Sorry, the issue has already been mentioned.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.