Is combination of break and detach statement supported?

0 votes
asked Mar 5, 2019 in Bug by saka (180 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, 2019 by plantuml (294,960 points)
Thanks for the report.

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