liquidhaskell-0.8.2.0: tests/neg/T743.hs
{-@ LIQUID "--nopatterninline" @-}
module Bob where
{-@ checkNat :: Nat -> Int @-}
checkNat :: Int -> Int
checkNat x = x
unsound :: Int
unsound = checkNat (-1)
data TestBS = TestBS Int deriving (Read)
{-@ LIQUID "--nopatterninline" @-}
module Bob where
{-@ checkNat :: Nat -> Int @-}
checkNat :: Int -> Int
checkNat x = x
unsound :: Int
unsound = checkNat (-1)
data TestBS = TestBS Int deriving (Read)