-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef1261b
commit c618bef
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
synopsis: Detect non-cyclical duplicate project imports | ||
description: | ||
Detect and report on duplicate imports that are non-cyclical and expand the | ||
detail in cyclical import reporting, being more explicit and consistent with | ||
non-cyclical duplicate reporting. | ||
|
||
``` | ||
$ cabal build --project-file=yops-0.project | ||
... | ||
Error: [Cabal-7090] | ||
Error parsing project file /.../yops-0.project: | ||
duplicate import of yops/yops-3.config; | ||
yops/yops-3.config | ||
imported by: yops-0.project | ||
yops/yops-3.config | ||
imported by: yops-2.config | ||
imported by: yops/yops-1.config | ||
imported by: yops-0.project | ||
``` | ||
|
||
packages: cabal-install-solver cabal-install | ||
prs: #9578 #9933 | ||
issues: #9562 |