Skip to content

Commit c618bef

Browse files
committed
Add changelog entry
1 parent ef1261b commit c618bef

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

changelog.d/pr-9933

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
synopsis: Detect non-cyclical duplicate project imports
2+
description:
3+
Detect and report on duplicate imports that are non-cyclical and expand the
4+
detail in cyclical import reporting, being more explicit and consistent with
5+
non-cyclical duplicate reporting.
6+
7+
```
8+
$ cabal build --project-file=yops-0.project
9+
...
10+
Error: [Cabal-7090]
11+
Error parsing project file /.../yops-0.project:
12+
duplicate import of yops/yops-3.config;
13+
yops/yops-3.config
14+
imported by: yops-0.project
15+
yops/yops-3.config
16+
imported by: yops-2.config
17+
imported by: yops/yops-1.config
18+
imported by: yops-0.project
19+
```
20+
21+
packages: cabal-install-solver cabal-install
22+
prs: #9578 #9933
23+
issues: #9562

0 commit comments

Comments
 (0)