Two or more break statement doew not work correctly

0 votes
asked Mar 9, 2019 in Bug by saka (180 points)
The source file is as follows.

while ( a==b ) is (yes)
if ( c==0 ) then (yes)
      :do something;
      break
    elseif (c==1) then
      :do something;
      break
    elseif (c==2) then
      break
    endif
end while
end

I tested latest beta but this problem seems to be not fixed yet.

http://beta.plantuml.net/plantuml.jar

http://www.plantuml.com/plantuml/png/SoWkIImgAStDuG8pkCepCdDI5JGK4crjanGq5JAB5JGgKuirkJBJW8B9jhO6GC6IZDGygB0265Ybv2iKv-UcbcHavgLRGmMJYb8Jiy7ir9pYL91-e7P3Y6wIzHb1z64goKl9JEC2aWfWXuDON0v00kWX0000

1 Answer

0 votes
answered Mar 25, 2019 by plantuml (295,000 points)
Thanks for the feedback.

Last beta http://beta.plantuml.net/plantuml.jar manages better this case, although this is not perfect.

Tell us if you find other issues!
...