Skip to content

Conversation

@Gabriel-Darbord
Copy link
Member

All relations implemented with MultivalueSet are currently unordered.
The lack of order can be detrimental when analyzing parameterized types or parameters for example.

This fix suggests using a LinkedHashSet instead of a HashSet for the internal collection used by MultivalueSet, as this data structure keeps track of the insertion order.

@badetitou badetitou merged commit a9d9f1f into master Mar 30, 2023
@badetitou badetitou deleted the ordered-relations branch March 30, 2023 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants