blob: dc10e56727e5d9a08d46504ca3b90cba64a88e03 (
plain)
1
2
3
4
5
6
7
|
{-# LANGUAGE Haskell2010 #-}
module ShouldFail where
-- !!! constraining the type variable in a class head is illegal
-- Simpler version of tcfail149
class Foo a where
op :: Eq a => a -> a
|