liquidhaskell-0.7.0.0: tests/neg/HigherOrder.hs
{-@ LIQUID "--higherorder" @-}
{-@ foo :: a: Int -> f: (Int -> Int) -> {v : Int | v = 123 + (f a) } @-}
foo :: Int -> (Int -> Int) -> Int
foo a f = f a{-@ LIQUID "--higherorder" @-}
{-@ foo :: a: Int -> f: (Int -> Int) -> {v : Int | v = 123 + (f a) } @-}
foo :: Int -> (Int -> Int) -> Int
foo a f = f a