[Git][haskell-team/DHG_packages][master] copilot-language: Fix FTBFS due to test compile errors

Scott Talbert (@swt2c) gitlab at salsa.debian.org
Wed Nov 29 00:25:17 GMT 2023



Scott Talbert pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
fb44216a by Scott Talbert at 2023-11-28T19:14:24-05:00
copilot-language: Fix FTBFS due to test compile errors

- - - - -


3 changed files:

- p/haskell-copilot-language/debian/changelog
- + p/haskell-copilot-language/debian/patches/fix-ftbfs-tests
- + p/haskell-copilot-language/debian/patches/series


Changes:

=====================================
p/haskell-copilot-language/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-copilot-language (3.17-2) unstable; urgency=medium
+
+  * Fix FTBFS due to test compile errors (Closes: #1054952)
+
+ -- Scott Talbert <swt at techie.net>  Tue, 28 Nov 2023 19:14:17 -0500
+
 haskell-copilot-language (3.17-1) unstable; urgency=medium
 
   [ Ilias Tsitsimpis ]


=====================================
p/haskell-copilot-language/debian/patches/fix-ftbfs-tests
=====================================
@@ -0,0 +1,23 @@
+diff --git a/copilot-language/tests/Test/Copilot/Language/Reify.hs b/copilot-language/tests/Test/Copilot/Language/Reify.hs
+index e056d946..d724df73 100644
+--- a/tests/Test/Copilot/Language/Reify.hs
++++ b/tests/Test/Copilot/Language/Reify.hs
+@@ -31,7 +31,7 @@ import qualified Copilot.Language.Operators.Integral as Copilot
+ import qualified Copilot.Language.Operators.Mux      as Copilot
+ import qualified Copilot.Language.Operators.Ord      as Copilot
+ import           Copilot.Language.Reify              (reify)
+-import           Copilot.Language.Spec               (observer)
++import           Copilot.Language.Spec               (Spec, observer)
+ import           Copilot.Language.Stream             (Stream)
+ import qualified Copilot.Language.Stream             as Copilot
+ 
+@@ -732,7 +732,8 @@ semanticsShowK steps (SemanticsP (expr, exprList)) =
+ checkSemanticsP :: Int -> [a] -> SemanticsP -> IO Bool
+ checkSemanticsP steps _streams (SemanticsP (expr, exprList)) = do
+     -- Spec with just one observer of one expression.
+-    let spec = observer testObserverName expr
++    let spec :: Spec
++        spec = observer testObserverName expr
+ 
+     -- Reified stream (low-level)
+     llSpec <- reify spec


=====================================
p/haskell-copilot-language/debian/patches/series
=====================================
@@ -0,0 +1 @@
+fix-ftbfs-tests



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/fb44216a1b5baa8cf03b3d5e98152bb2b5c142d3

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/fb44216a1b5baa8cf03b3d5e98152bb2b5c142d3
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/20231129/5224d68a/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list