File tree Expand file tree Collapse file tree 4 files changed +15
-7
lines changed
bytestring-tests/Properties Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 22
33_ Note: below all ` FilePath ` values are unquoted, so ` \\ ` really means two backslashes._
44
5- ## 1.4.300.1. * Jan 2024*
5+ ## 1.4.300.2 * Apr 2024*
6+
7+ * Fix compabitiliby with GHC 9.10
8+
9+ ## 1.4.300.1 * Jan 2024*
610
711* Backport bugfix for [ ` splitFileName ` ] ( https://github.com/haskell/filepath/issues/219 ) on windows
812
9- ## 1.4.200.1. * Dec 2023*
13+ ## 1.4.200.1 * Dec 2023*
1014
1115* Improve deprecation warnings wrt [ #209 ] ( https://github.com/haskell/filepath/issues/209 )
1216
Original file line number Diff line number Diff line change 11cabal-version : 2.2
22name : filepath
3- version : 1.4.300.1
3+ version : 1.4.300.2
44
55-- NOTE: Don't forget to update ./changelog.md
66license : BSD-3-Clause
@@ -113,7 +113,7 @@ library
113113
114114 default-language : Haskell2010
115115 build-depends :
116- , base >= 4.9 && < 4.20
116+ , base >= 4.9 && < 4.21
117117 , bytestring >= 0.11.3.0
118118 , deepseq
119119 , exceptions
Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ tests =
3939 let str = [toEnum 55296 , toEnum 55297 ]
4040 encoded = encodeWithTE utf16le str
4141 decoded = decodeWithTE utf16le =<< encoded
42- #if __GLASGOW_HASKELL__ >= 904
42+ #if __GLASGOW_HASKELL__ >= 910
43+ in decoded === Left (EncodingError (" recoverEncode: invalid argument (cannot encode character " <> show (head str) <> " )\n " ) Nothing ))
44+ #elif __GLASGOW_HASKELL__ >= 904
4345 in decoded === Left (EncodingError (" recoverEncode: invalid argument (cannot encode character " <> show (head str) <> " )" ) Nothing ))
4446#else
4547 in decoded === Left (EncodingError " recoverEncode: invalid argument (invalid character)" Nothing ))
@@ -69,7 +71,9 @@ tests =
6971 let str = [toEnum 0xDFF0 , toEnum 0xDFF2 ]
7072 encoded = encodeWithTE (mkUTF8 RoundtripFailure ) str
7173 decoded = decodeWithTE (mkUTF8 RoundtripFailure ) =<< encoded
72- #if __GLASGOW_HASKELL__ >= 904
74+ #if __GLASGOW_HASKELL__ >= 910
75+ in decoded === Left (EncodingError (" recoverEncode: invalid argument (cannot encode character " <> show (head str) <> " )\n " ) Nothing ))
76+ #elif __GLASGOW_HASKELL__ >= 904
7377 in decoded === Left (EncodingError (" recoverEncode: invalid argument (cannot encode character " <> show (head str) <> " )" ) Nothing ))
7478#else
7579 in decoded === Left (EncodingError " recoverEncode: invalid argument (invalid character)" Nothing ))
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import Data.Word
3333
3434import Control.Arrow
3535import Data.Foldable
36- import Data.List as L
36+ import Data.List as L hiding ( unsnoc )
3737import Data.Semigroup
3838import Data.Tuple
3939import Test.QuickCheck
You can’t perform that action at this time.
0 commit comments