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 dedup bug #1

Closed
wants to merge 2 commits into from
Closed

Fix dedup bug #1

wants to merge 2 commits into from

Conversation

3noch
Copy link
Collaborator

@3noch 3noch commented May 18, 2020

Also filed against upstream at ghcjs#788

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
Copy link
Collaborator Author

3noch commented May 19, 2020

Closed in favor of #3

@3noch 3noch closed this May 19, 2020
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