From 0b50627a7ae8bfbcfe771eac71cc1975903d118e Mon Sep 17 00:00:00 2001 From: Alec Theriault Date: Fri, 20 Jul 2018 03:01:49 -0700 Subject: Preserve docs on type family instances (#867) * Preserve docs on type family instances The only problem was that the instance location was slightly off for type family instances. * Accept output (cherry picked from commit 133e9c2c168db19c1135479f7ab144c4e33af2a4) --- html-test/ref/TypeFamilies.html | 30 ++++++++++++++++++++---------- html-test/ref/TypeFamilies2.html | 18 ++++++++++++------ 2 files changed, 32 insertions(+), 16 deletions(-) (limited to 'html-test') diff --git a/html-test/ref/TypeFamilies.html b/html-test/ref/TypeFamilies.html index 3a93a270..9a4945dd 100644 --- a/html-test/ref/TypeFamilies.html +++ b/html-test/ref/TypeFamilies.html @@ -346,8 +346,10 @@ > #

External instance

#

Doc for: type instance Foo X = Y

#

Doc for: type instance Foo Y = X

#

Doc for: type instance Foo Y = X

#

Doc for: type instance Foo X = Y

#

Should be visible, but with a hidden right hand side

#

Should be visible, but with a hidden right hand side

#

External instance