Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dedupe bug but with CI #3

Merged
merged 3 commits into from
May 19, 2020
Merged

Fix dedupe bug but with CI #3

merged 3 commits into from
May 19, 2020

Conversation

3noch
Copy link
Collaborator

@3noch 3noch commented May 19, 2020

Filed against upstream in ghcjs#788

tomsmalley and others added 3 commits May 12, 2020 15:29
We hash an SCC by concatenating the hashes of all the nodes. Previously
we sorted the nodes by the hashes first, which meant two graphs with
identical nodes would get the same hash, even if the edges were
different. This commit changes the sorting to take topology into
account, thereby fixing the bug.
@3noch 3noch mentioned this pull request May 19, 2020
@3noch 3noch merged commit a00ecf0 into ghc-8.6 May 19, 2020
@3noch 3noch deleted the ts-fix-dedupe-bug-3 branch May 19, 2020 20:39
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.

2 participants