liquidhaskell-0.8.10.1: tests/errors/ErrLocation2.hs
module ErrLocation2 where
{-@ inc :: Nat -> Nat @-}
inc :: Int -> Int
inc x = x + 1
bar :: Int -> Int
bar x
| x > 0 = inc (x - 1)
| otherwise = inc x
module ErrLocation2 where
{-@ inc :: Nat -> Nat @-}
inc :: Int -> Int
inc x = x + 1
bar :: Int -> Int
bar x
| x > 0 = inc (x - 1)
| otherwise = inc x