packages feed

liquidhaskell-0.4.0.0: tests/neg/Class4.hs

{-# LANGUAGE ScopedTypeVariables #-}
{-@ LIQUID "--no-termination" @-}

module Class4 where

import Language.Haskell.Liquid.Prelude

class Frog a where
  mkInt :: a -> Int
  mkInt _ = liquidAssert (0 > 1) 10

{-@ class Frog a where
      mkInt :: a -> Int
  @-}

instance Frog Int where