liquidhaskell-0.8.2.2: tests/pos/T1146.hs
{-@ type Exactly N = { n:Int | n == N } @-}
{-@ incr :: n:Int -> Exactly { n + 1 } @-}
incr :: Int -> Int
incr n = n + 1
{-@ type Exactly N = { n:Int | n == N } @-}
{-@ incr :: n:Int -> Exactly { n + 1 } @-}
incr :: Int -> Int
incr n = n + 1