-
Notifications
You must be signed in to change notification settings - Fork 676
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
Detect duplicate non-cyclical project imports #9933
base: master
Are you sure you want to change the base?
Conversation
c618bef
to
45e6f73
Compare
@TeofilC I'm inviting your review as cabal could perhaps be enhanced to output a list of files imported from a project in the future for use by other tools, input-output-hk/haskell.nix#2144 (comment). |
45e6f73
to
62a67ca
Compare
@alt-romes: could you maybe have a look? |
62a67ca
to
1d189d5
Compare
Looks like you may need to rebase on |
c5ab2b7
to
b708112
Compare
Thanks @Kleidukos for pointing out the stray changelog entry. Rebasing didn't clear it so I deleted it and then squashed related commits. |
45f249c
to
50ebe1d
Compare
- A test for detecting when the same config is imported via many different paths .
50ebe1d
to
1d1b3e7
Compare
A follow on from #9578. Uses an
IORef
to better report on duplicates (including cycles) and to detect duplicates that are not cycles. This was originally included in #9578 but punted at review, #9578 (comment).