You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In light of the recently merged PR #25 , adding support for inlined types, we are seeing something we regard as an inconsistency.
When having a struct inlined into another, I would expect that types in the original struct having references to both original struct, but also the struct it is inlined into (having reference to == being in the list of Appears in). Example:
Where you can see that EmbeddedX having both Embedded1 and Embedded2 in it's Appears in list. The current situation is that EmbeddedX only has Embedded1 in its Appears in list.
What do you think? I would be happy to submit a PR for this if you agree this is how the behaviour should be.
The text was updated successfully, but these errors were encountered:
In light of the recently merged PR #25 , adding support for inlined types, we are seeing something we regard as an inconsistency.
When having a struct inlined into another, I would expect that types in the original struct having references to both original struct, but also the struct it is inlined into (having reference to == being in the list of
Appears in
). Example:I would expect an output similar to
Where you can see that
EmbeddedX
having bothEmbedded1
andEmbedded2
in it'sAppears in
list. The current situation is thatEmbeddedX
only hasEmbedded1
in itsAppears in
list.What do you think? I would be happy to submit a PR for this if you agree this is how the behaviour should be.
The text was updated successfully, but these errors were encountered: