File tree Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "sha1" : "63k2z5wn0rlz78nb85fa9i3a2v7kbj3" ,
3
+ "insertion" : {
4
+ "when" : "2025-06-04T11:08:52.876Z" ,
5
+ "url" : "https://github.com/plantuml/plantuml/issues/2182" ,
6
+
7
+ }
8
+ }
9
+ @startuml
10
+
11
+ !procedure $test_proc ($param1 = "foo ", $param2 = "bar ")
12
+ rectangle $param1 {
13
+ rectangle $param2 {
14
+ }
15
+ }
16
+ !endprocedure
17
+
18
+ !function $test_func ($param1 = "foo ", $param2 = "bar ")
19
+ !return $param1 + $param2
20
+ !endfunction
21
+
22
+ $test_proc ($param2 = "baz ")
23
+
24
+ rectangle func0 [
25
+ $test_func ()
26
+ ]
27
+
28
+ rectangle func1 [
29
+ !$value = $test_func ("baz ", "qu " + "x ")
30
+ $value
31
+ ]
32
+
33
+ rectangle func2 [
34
+ $test_func ($param2 = "qu " + "x ")
35
+ ]
36
+
37
+ @enduml
Original file line number Diff line number Diff line change
1
+ https ://github . com /plantuml /plantuml /issues /2182
2
+
3
+ @startuml
4
+
5
+ !procedure $test_proc ($param1 = "foo ", $param2 = "bar ")
6
+ rectangle $param1 {
7
+ rectangle $param2 {
8
+ }
9
+ }
10
+ !endprocedure
11
+
12
+ !function $test_func ($param1 = "foo ", $param2 = "bar ")
13
+ !return $param1 + $param2
14
+ !endfunction
15
+
16
+ $test_proc ($param2 = "baz ")
17
+
18
+ rectangle func0 [
19
+ $test_func ()
20
+ ]
21
+
22
+ rectangle func1 [
23
+ !$value = $test_func ("baz ", "qu " + "x ")
24
+ $value
25
+ ]
26
+
27
+ rectangle func2 [
28
+ $test_func ($param2 = "qu " + "x ")
29
+ ]
30
+
31
+ @enduml
You can’t perform that action at this time.
0 commit comments