[commit: packages/stm] master: Replace deprecated pragmas by current LANGUAGE pragmas (52c3028)

git at git.haskell.org git at git.haskell.org
Tue Mar 25 21:32:41 UTC 2014


Repository : ssh://git@git.haskell.org/stm

On branch  : master
Link       : http://git.haskell.org/packages/stm.git/commitdiff/52c3028aff127fd957cdaf1ec7605fc533a59961

>---------------------------------------------------------------

commit 52c3028aff127fd957cdaf1ec7605fc533a59961
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Tue Mar 25 22:28:17 2014 +0100

    Replace deprecated pragmas by current LANGUAGE pragmas
    
    This reduces the amount of compile warnings for the stm test-cases
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


>---------------------------------------------------------------

52c3028aff127fd957cdaf1ec7605fc533a59961
 tests/stm046.hs |    2 +-
 tests/stm047.hs |    2 +-
 tests/stm048.hs |    2 +-
 tests/stm049.hs |    2 +-
 tests/stm052.hs |    2 +-
 tests/stm060.hs |    2 +-
 tests/stm061.hs |    2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/stm046.hs b/tests/stm046.hs
index e2fc39e..2a57877 100644
--- a/tests/stm046.hs
+++ b/tests/stm046.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE PatternSignatures #-}
+{-# LANGUAGE ScopedTypeVariables #-}
 module Main where
 
 import GHC.Conc
diff --git a/tests/stm047.hs b/tests/stm047.hs
index 8caaf1d..6199b9a 100644
--- a/tests/stm047.hs
+++ b/tests/stm047.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE PatternSignatures #-}
+{-# LANGUAGE ScopedTypeVariables #-}
 module Main where
 
 import GHC.Conc
diff --git a/tests/stm048.hs b/tests/stm048.hs
index 48a63af..be65219 100644
--- a/tests/stm048.hs
+++ b/tests/stm048.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE PatternSignatures #-}
+{-# LANGUAGE ScopedTypeVariables #-}
 module Main where
 
 import GHC.Conc
diff --git a/tests/stm049.hs b/tests/stm049.hs
index 60d5dd1..f1d5b6b 100644
--- a/tests/stm049.hs
+++ b/tests/stm049.hs
@@ -1,6 +1,6 @@
 -- STM stress test
 
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
 module Main (main) where
 
 import Control.Concurrent
diff --git a/tests/stm052.hs b/tests/stm052.hs
index 5e37a93..7a47a49 100644
--- a/tests/stm052.hs
+++ b/tests/stm052.hs
@@ -1,6 +1,6 @@
 -- STM stress test
 
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
 module Main (main) where
 
 import Foreign
diff --git a/tests/stm060.hs b/tests/stm060.hs
index 707bf04..5ebdaf0 100644
--- a/tests/stm060.hs
+++ b/tests/stm060.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE PatternSignatures #-}
+{-# LANGUAGE ScopedTypeVariables #-}
 module Main where
 
 import GHC.Conc
diff --git a/tests/stm061.hs b/tests/stm061.hs
index 4c29558..70606a1 100644
--- a/tests/stm061.hs
+++ b/tests/stm061.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE PatternSignatures #-}
+{-# LANGUAGE ScopedTypeVariables #-}
 module Main where
 
 import GHC.Conc



More information about the ghc-commits mailing list