liquidhaskell-0.9.0.2.1: tests/errors/BadAnnotation1.hs
{-@ LIQUID "--expect-error-containing=Malformed annotation" @-}
module BadAnnotation1 where
{-@ incr :: x:Int
-> {v:Int | x < v }
-}
incr :: Int -> Int
incr x = x - 1
{-@ LIQUID "--expect-error-containing=Malformed annotation" @-}
module BadAnnotation1 where
{-@ incr :: x:Int
-> {v:Int | x < v }
-}
incr :: Int -> Int
incr x = x - 1