Skip to content
Discussion options

You must be logged in to vote

Thank you again, @swarm59, for another very accurate report. No, this behaviour was not intended: emitting TypeIdentifier::None for a struct merely because it contains a composed member silently disabled structural XTypes matching for a large part of normal application IDL.

The Rust code-generation path had its own limited member-type resolver that understood primitive and string members but not the full named-type graph. A typedef, enum, sequence, map, nested struct, or another composed member could therefore collapse the identifier of the entire containing struct to None, even though the full TypeObject mapping and hashing machinery already existed elsewhere in the compiler.

The direct …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SandraK82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants