From 82ab2c09c19641e0ea89965c9af291043798486d Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 15 Mar 2014 15:17:18 +0100 Subject: Fix issue #281 This is a regression from the data family instances change. Data instances are now distinguished from regular lists by usage of the new class "inst", and the style has been updated to only apply to those. I've also updated the appropriate test case to test this a bit better, including GADT instances with GADT-style records. --- html-test/ref/TypeFamilies.html | 304 +++++++++++++++++++++++-------- html-test/src/TypeFamilies.hs | 16 +- resources/html/Ocean.std-theme/ocean.css | 7 +- src/Haddock/Backends/Xhtml/Decl.hs | 16 +- src/Haddock/Backends/Xhtml/Layout.hs | 8 +- 5 files changed, 251 insertions(+), 100 deletions(-) diff --git a/html-test/ref/TypeFamilies.html b/html-test/ref/TypeFamilies.html index d1d54571..355d9248 100644 --- a/html-test/ref/TypeFamilies.html +++ b/html-test/ref/TypeFamilies.html @@ -80,6 +80,22 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; >Y
  • data Z
  • class data BatAssocD * X = AssocX type AssocT * X = Foo * X data Bat * X