Login
Remember
Register
PlantUML Q&A
*NEW* Discord server
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
specifying default values in macro result in failure
0
votes
asked
Jun 26, 2017
in
Bug
by
boshka
(
3,940
points)
This works:
@startuml
!define my_test(a,b="def b") note right: a, b
my_test()
@enduml
However, this does not:
@startuml
!define my_test(a="def a",b="def b") note right: a, b
my_test()
@enduml
macro
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
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
.
1 Answer
0
votes
answered
Jun 27, 2017
by
plantuml
(
295,000
points)
Hi,
Thanks for the report.
This should be fixed in last beta:
https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
Tell us if it's not working for you!
Regards,
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
Macro call result depends on macro order
Allow macro expansion on default macro value
Parenthesis in macro arguments
Allow linebreaks in Macro parameter
Comments are interpreted as code in macro
All categories
Question / help
(1,463)
Bug
(1,637)
Wanted features
(1,419)
Closed question / help
(88)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(12)
Can't help
(9)
To be deleted
(10)
To be sorted
(429)
...