From 7fd25809e89a82e699d1abbf24de86e5b417e86b Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 7 Oct 2022 07:43:13 -1000 Subject: [PATCH] dev: fix customErrorBundlePretty import warnings --- hledger-lib/Hledger/Data/Dates.hs | 1 - hledger-lib/Hledger/Read/Common.hs | 2 +- hledger-lib/Hledger/Read/CsvReader.hs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hledger-lib/Hledger/Data/Dates.hs b/hledger-lib/Hledger/Data/Dates.hs index 7ec2760f0..d14a89c27 100644 --- a/hledger-lib/Hledger/Data/Dates.hs +++ b/hledger-lib/Hledger/Data/Dates.hs @@ -104,7 +104,6 @@ import Safe (headMay, lastMay, maximumMay, minimumMay) import Text.Megaparsec import Text.Megaparsec.Char (char, char', digitChar, string, string') import Text.Megaparsec.Char.Lexer (decimal, signed) -import Text.Megaparsec.Custom (customErrorBundlePretty) import Text.Printf (printf) import Hledger.Data.Types diff --git a/hledger-lib/Hledger/Read/Common.hs b/hledger-lib/Hledger/Read/Common.hs index d169fefa4..bdbfbe37a 100644 --- a/hledger-lib/Hledger/Read/Common.hs +++ b/hledger-lib/Hledger/Read/Common.hs @@ -143,7 +143,7 @@ import Text.Megaparsec import Text.Megaparsec.Char (char, char', digitChar, newline, string) import Text.Megaparsec.Char.Lexer (decimal) import Text.Megaparsec.Custom - (FinalParseError, attachSource, customErrorBundlePretty, finalErrorBundlePretty, parseErrorAt, parseErrorAtRegion) + (FinalParseError, attachSource, finalErrorBundlePretty, parseErrorAt, parseErrorAtRegion) import Hledger.Data import Hledger.Query (Query(..), filterQuery, parseQueryTerm, queryEndDate, queryStartDate, queryIsDate, simplifyQuery) diff --git a/hledger-lib/Hledger/Read/CsvReader.hs b/hledger-lib/Hledger/Read/CsvReader.hs index 51cb1dcce..9e8a477b8 100644 --- a/hledger-lib/Hledger/Read/CsvReader.hs +++ b/hledger-lib/Hledger/Read/CsvReader.hs @@ -68,7 +68,7 @@ import qualified Data.ByteString.Lazy as BL import Data.Foldable (asum, toList) import Text.Megaparsec hiding (match, parse) import Text.Megaparsec.Char (char, newline, string) -import Text.Megaparsec.Custom (customErrorBundlePretty, parseErrorAt) +import Text.Megaparsec.Custom (parseErrorAt) import Text.Printf (printf) import Hledger.Data