From a74ddc3761bb328e282600c155a0e509334b1818 Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Mon, 16 Dec 2024 14:08:54 -0500 Subject: [PATCH] Better before and after explanation for import error --- changelog.d/pr-10644 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/changelog.d/pr-10644 b/changelog.d/pr-10644 index 5d93694cafe..70ab5b4a956 100644 --- a/changelog.d/pr-10644 +++ b/changelog.d/pr-10644 @@ -124,10 +124,10 @@ if false elif _ ``` - * Before the fix: - The parse error is shown with hard line breaks. + The project rather than the imported configuration file is shown as the + source file. ``` $ ~/.ghcup/bin/cabal-3.12.1.0 build all --dry-run @@ -140,8 +140,8 @@ elif _ * After the fix: - The snippet that failed to parse may be shown and the parse error is shown - as one line, with no hard line breaks. + The imported configuration file is shown as the source with a snippet of the + error. ``` $ cabal build all --dry-run