1 2 3 4 5 6 7 8 9 10
{-# LANGUAGE QuantifiedConstraints #-} module Bug where import Data.Proxy class C a where m :: Proxy a f :: (forall {a}. C a) => Proxy Int f = m