Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Use correct methods when writing toposorted structs
If there are other structs in `toposorted_structs` before `strct`, they were written with the methods of `strct` instead of their own. This commit fixes that. This commit also fixes the check against `out.types.cxx` that should prevent duplicate definitions. I didn't encounter any such issues, but I still think that it makes sense to fix it. Both issues were introduced in commit 5439fa1.
- Loading branch information