packages feed

liquidhaskell-0.8.0.5: tests/pos/fixme.hs

{-# LANGUAGE GADTs #-}

{-@ LIQUID "--no-termination" @-}

{-@ data List a where
       Nil  :: List a
     | Cons :: poopy:a -> listTail:List a -> List a
  @-}

data List a where
  Nil  :: List a
  Cons :: a -> List a -> List a

test :: List a -> Int
test Nil = 1
test (Cons x xs) = 1 + test xs