Repeating Return = Nowhere to return to

0 votes
asked Apr 11 in Bug by danespin (200 points)

The following sequence diagram fails with a message "Nowhere to return to" when duplicated in alt / else blocks, using latest version 1.2024.4:

@startuml

autonumber

skinparam strict uml

box "app"

    actor A

    actor B

end box

A -> B  : first call

alt #HoneyDew Success

    return OK

else #MistyRose Failure

    return NO OK

end

@enduml

https://www.plantuml.com/plantuml/png/JSv1IiL03CRnVKxnqQwzW0jfYuWWMj0JfDC8WzEPacJmzVPlNbVTXF_Y5_W6SrQlMoBYwYNNRH4b-ujvP-KDvXg3um6MSaF7-zuH073meXWlFP7a5KqHZNXwmGGyupUgEGAdH9mS_Nl9ShpAFtvg269s_gjurOpvWoIPeF-CviTtQVd6CLMLg_gQJvXNeg7TjkmE

commented Apr 11 by danespin (200 points)
Commenting any of the return statements will render output, but without the corresponding return.

Expected: to return from B to A in both cases, but with different messages.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...