From 45e6f73558d069a8049345f3b64c59fb2652f700 Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Wed, 24 Apr 2024 14:49:35 -0400 Subject: [PATCH] Add changelog entry --- changelog.d/pr-9933 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 changelog.d/pr-9933 diff --git a/changelog.d/pr-9933 b/changelog.d/pr-9933 new file mode 100644 index 00000000000..6aa9b5b436b --- /dev/null +++ b/changelog.d/pr-9933 @@ -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