From 4f148a9282491d7c9d6fa87dc01e4be4acdec13f Mon Sep 17 00:00:00 2001
From: Alec Theriault
Date: Wed, 23 May 2018 02:29:05 -0700
Subject: Use `ClassOpSig` instead of `TypeSig` for class methods (#835)
* Fix minimal pragma handling
Class declarations contain 'ClassOpSig' not 'Typesig'. This should fix #834.
* Accept html-test output
---
html-test/ref/Bug26.html | 14 +++-----
html-test/ref/Bug613.html | 14 +++-----
html-test/ref/Bug647.html | 8 -----
html-test/ref/Bug679.html | 8 -----
html-test/ref/DeprecatedClass.html | 28 ++++++----------
html-test/ref/Hash.html | 16 ++++-----
html-test/ref/Instances.html | 24 ++++++++++++++
html-test/ref/Minimal.html | 36 ++++++++++++++------
html-test/ref/Operators.html | 34 +++++++++----------
html-test/ref/OrphanInstancesClass.html | 8 -----
html-test/ref/Test.html | 58 +++++++++++++++------------------
html-test/ref/Ticket61.html | 8 -----
12 files changed, 120 insertions(+), 136 deletions(-)
(limited to 'html-test/ref')
diff --git a/html-test/ref/Bug26.html b/html-test/ref/Bug26.html
index e50169ba..a363fef3 100644
--- a/html-test/ref/Bug26.html
+++ b/html-test/ref/Bug26.html
@@ -71,7 +71,11 @@
> a wherec_f :: aSince: 1.0
Minimal complete definition
c_f
Methods
f
wherefmap :: (a -> b) -> f a -> f b #Minimal complete definition
fmap
Methods
#Minimal complete definition
f
Methods
#Minimal complete definition
foo
Methods
a
wherefoo :: a -> a a wherebar :: a -> asome class
Minimal complete definition
foo
Methods
Deprecated: SomeOtherClass
Minimal complete definition
bar
Methods
a
wherehash :: a -> IntA class of types which can be hashed.
Minimal complete definition
hash
Methods
#Minimal complete definition
Nothing
Methods
#Minimal complete definition
Nothing
Methods
#Minimal complete definition
Nothing
Methods
#Minimal complete definition
Nothing
Associated Types
#Minimal complete definition
(a, b, c | (d | e, (f | g)))
Methods
#Minimal complete definition
aaa, bbb
Methods
#Minimal complete definition
Nothing
Associated Types
#Minimal complete definition
aClass
Methods
a
wherea :: IO ab :: [a] a whered :: T a be :: (a, a) a whereff :: a class)Minimal complete definition
a, b
Methods
This is a class declaration with no separate docs for the methods
Minimal complete definition
d, e
Methods
#Minimal complete definition
ff
Methods
#Minimal complete definition
f