Closed drganjoo closed 2 weeks ago
A new generated diff is ready to view.
A new doc preview is ready to view.
A new generated diff is ready to view.
A new doc preview is ready to view.
A new generated diff is ready to view.
A new doc preview is ready to view.
A new generated diff is ready to view.
A new doc preview is ready to view.
A new generated diff is ready to view.
A new doc preview is ready to view.
A new generated diff is ready to view.
A new doc preview is ready to view.
A new generated diff is ready to view.
A new doc preview is ready to view.
A new generated diff is ready to view.
A new doc preview is ready to view.
This PR fixes a bug in the code generation for a directly constrained List shape that has an indirectly constrained aggregate type as a member shape.
For example, in the following model:
A
TryFrom
implementation is generated that converts fromItemListUnconstrained
toItemList
by converting each member of the inner list ofItemUnconstrained
toItemConstrained
and then converting it toVec<Vec<ItemName>>
:Partially fixes issue: #3885 for publicly constrained shapes only.