Skip to content

Conversation

@seastian
Copy link
Member

no diff with skip overlapping instances :(

seastian pushed a commit that referenced this pull request May 28, 2025
Fixes a bug where type synonym changes are incorrectly computed when diffing externs.

See https://github.com/zyla/purs-recompilation-repro for a reproducer of the bug.

Bug explanation: Externs files can have multiple entries with the same Ref, but the code in ExternsDiff assumed uniqueness. This led to buggy dependency graph construction.

The fix is to merge duplicate entries.
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