[Git][haskell-team/DHG_packages][master] ghc-typelits-extra: Fix test error
Scott Talbert (@swt2c)
gitlab at salsa.debian.org
Tue Jan 13 23:47:02 GMT 2026
Scott Talbert pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
23ea47e4 by Scott Talbert at 2026-01-13T18:46:41-05:00
ghc-typelits-extra: Fix test error
- - - - -
3 changed files:
- p/haskell-ghc-typelits-extra/debian/changelog
- + p/haskell-ghc-typelits-extra/debian/patches/fix-test-error
- + p/haskell-ghc-typelits-extra/debian/patches/series
Changes:
=====================================
p/haskell-ghc-typelits-extra/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-ghc-typelits-extra (0.4.8-2) unstable; urgency=medium
+
+ * Fix test error
+
+ -- Scott Talbert <swt at techie.net> Tue, 13 Jan 2026 18:42:37 -0500
+
haskell-ghc-typelits-extra (0.4.8-1) unstable; urgency=medium
* Build using dh-haskell
=====================================
p/haskell-ghc-typelits-extra/debian/patches/fix-test-error
=====================================
@@ -0,0 +1,41 @@
+--- a/tests-ghc-9.4/ErrorTests.hs
++++ b/tests-ghc-9.4/ErrorTests.hs
+@@ -13,6 +13,10 @@ import Data.Proxy
+ import GHC.TypeLits
+ import GHC.TypeLits.Extra
+
++#if __GLASGOW_HASKELL__ >= 901
++import qualified Data.Type.Ord
++#endif
++
+ testFail1 :: Proxy (GCD 6 8) -> Proxy 4
+ testFail1 = id
+
+@@ -213,11 +217,11 @@ testFail23Errors =
+
+ testFail24Errors =
+ #if __GLASGOW_HASKELL__ >= 912
+- ["Couldn't match type ‘ghc-internal-9.1201.0:GHC.Internal.Data.Type.Ord.OrdCond"
++ ["Couldn't match type ‘Data.Type.Ord.OrdCond"
+ ,"(CmpNat z (Max x y)) 'True 'True 'False’"
+ ,"with ‘'True’"]
+ #elif __GLASGOW_HASKELL__ >= 910
+- ["Couldn't match type ‘ghc-internal-9.1001.0:GHC.Internal.Data.Type.Ord.OrdCond"
++ ["Couldn't match type ‘Data.Type.Ord.OrdCond"
+ ,"(CmpNat z (Max x y)) 'True 'True 'False’"
+ ,"with ‘'True’"]
+ #else
+@@ -228,11 +232,11 @@ testFail24Errors =
+
+ testFail25Errors =
+ #if __GLASGOW_HASKELL__ >= 912
+- ["Couldn't match type ‘ghc-internal-9.1201.0:GHC.Internal.Data.Type.Ord.OrdCond"
++ ["Couldn't match type ‘Data.Type.Ord.OrdCond"
+ ,"(CmpNat (x + 1) (Max x y)) 'True 'True 'False’"
+ ,"with ‘'True’"]
+ #elif __GLASGOW_HASKELL__ >= 910
+- ["Couldn't match type ‘ghc-internal-9.1001.0:GHC.Internal.Data.Type.Ord.OrdCond"
++ ["Couldn't match type ‘Data.Type.Ord.OrdCond"
+ ,"(CmpNat (x + 1) (Max x y)) 'True 'True 'False’"
+ ,"with ‘'True’"]
+ #else
=====================================
p/haskell-ghc-typelits-extra/debian/patches/series
=====================================
@@ -0,0 +1 @@
+fix-test-error
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/23ea47e46fa548c542dd1c7037b3db4e2af026fc
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/23ea47e46fa548c542dd1c7037b3db4e2af026fc
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20260113/6dfdfca0/attachment-0001.htm>
More information about the Pkg-haskell-commits
mailing list