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