Is combination of break and detach statement supported?

0 votes
asked Mar 5 in Bug by saka (140 points)
Following code causes UnsupportedOperationException.

combination of break and detach statement seems to cause the problem.

@startuml
while ( TRUE )
    if (A) then (yes)
      break
    endif
    if (B) then (yes)
      :return error;
      detach
    endif
endwhile
:return 0;
@enduml

Environment:

PlantUML(1.2019.02)

Java 1.8.0_191-b12

OS: Windows10 64bit

1 Answer

0 votes
answered Mar 6 by plantuml (201,220 points)
Thanks for the report.

This should be fixed in last beta http://beta.plantuml.net/plantuml.jar
commented Mar 9 by saka (140 points)
I confirmed the problem is fixed.
Thanks,
...