mirror of
https://github.com/barrucadu/dejafu.git
synced 2024-11-27 13:39:16 +03:00
Use MIN_TOOL_VERSION_ghc rather than __GLASGOW_HASKELL_
This commit is contained in:
parent
821293f629
commit
fa7d4bf445
@ -5,7 +5,7 @@
|
||||
{-# LANGUAGE ScopedTypeVariables #-}
|
||||
{-# LANGUAGE TypeSynonymInstances #-}
|
||||
|
||||
#if __GLASGOW_HASKELL__ >= 800
|
||||
#if MIN_TOOL_VERSION_ghc(8,0,0)
|
||||
-- Impredicative polymorphism checks got stronger in GHC 8, breaking
|
||||
-- the use of 'unsafeCoerce' below.
|
||||
{-# LANGUAGE ImpredicativeTypes #-}
|
||||
|
@ -5,7 +5,7 @@
|
||||
{-# LANGUAGE RankNTypes #-}
|
||||
{-# LANGUAGE TypeSynonymInstances #-}
|
||||
|
||||
#if __GLASGOW_HASKELL__ >= 800
|
||||
#if MIN_TOOL_VERSION_ghc(8,0,0)
|
||||
-- Impredicative polymorphism checks got stronger in GHC 8, breaking
|
||||
-- the use of 'unsafeCoerce' below.
|
||||
{-# LANGUAGE ImpredicativeTypes #-}
|
||||
|
Loading…
Reference in New Issue
Block a user