Defined command no longer working on version 8040

0 votes
asked May 12, 2016 in Bug by falbright (120 points)
Following line of code in included file using version 8020:

!define setParticipant(a,b) participant a as b

In 8020, this yields a a participant named 'b'.

In 8040, 2 participants result, both names 'P1'.  Is this a version issue?

1 Answer

0 votes
answered May 12, 2016 by plantuml (294,960 points)

Hello,

Could you provide a complete snippet of code that shows the issue ?

We tried the following example, that seems ok :

@startuml
!define setParticipant(a,b) participant a as b
setParticipant(P1, P1)
setParticipant(P2, P2)
@enduml

I guess that your non-working example is different.

Thanks!

...