Commit bb748c2
Also treat OptionalPlaceholder ModellingRule as optional in instantiate
`instantiate` with `instantiate_optional=False` would also instantiate
children that have the ModellingRule OptionalPlaceholder. So far, only
Optional children were ignored.
This commit fixes this behavior, and treats both of them the same w.r.t.
`instantiate_optional`.
Fixes #10921 parent 3990a96 commit bb748c2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments