From eaf0a0b51f452398f3c64882a334f90b920df794 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Thu, 13 Mar 2014 08:53:41 +0100 Subject: Display minimal complete definitions for type classes This corresponds to the new {-# MINIMAL #-} pragma present in GHC 7.8+. I also cleaned up some of the places in which ExportDecl is used to make adding fields easier in the future. Lots of test cases have been updated since they now render with minimality information. --- html-test/src/Test.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'html-test/src') diff --git a/html-test/src/Test.hs b/html-test/src/Test.hs index 677106c6..e94cc414 100644 --- a/html-test/src/Test.hs +++ b/html-test/src/Test.hs @@ -171,6 +171,7 @@ class (D a) => C a where b :: [a] -- ^ this is a description of the 'b' method c :: a -- c is hidden in the export list + c = undefined -- ^ This comment applies to the /previous/ declaration (the 'C' class) -- cgit v1.2.3