Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement configuration/detection for final types and use that inform… #694
Final types are those that can't have any further subclasses, and as
This replaces the previous "trait" configuration with "final_type",
All child crates need to add the types to the manual section of their .toml already anyway, and for some types more configuration than that is already necessary. Check the
And if a child crate forgets to put this configuration there it won't generate broken bindings. It will only crate functions that are not as convenient to use as they could otherwise.
Done. I disagree with that though, the old code would've caught inconsistencies that now would be silently ignored.
I just checked and it merges fine apart from a minor merge conflict in a single import statement.