aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug188.hs
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-04-03 21:13:48 +0100
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-04-03 21:13:48 +0100
commit52103425e6d621523fb0ed5b5b83c2588cacc7b6 (patch)
tree0ecb2f2243a4d55f4ee8802919538d464a916b31 /html-test/src/Bug188.hs
parentc2a1f755565008efbee80cdd51eabeeb0606fe51 (diff)
Update test cases for GHC bug #8945, Haddock #188
The order of signature groups has been corrected upstream. Here we add a test case and update some existing test-cases to reflect this change. We remove grouped signature in test cases that we can (Minimal, BugDeprecated &c) so that the test is as self-contained as possible.
Diffstat (limited to 'html-test/src/Bug188.hs')
-rw-r--r--html-test/src/Bug188.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/html-test/src/Bug188.hs b/html-test/src/Bug188.hs
new file mode 100644
index 00000000..15089699
--- /dev/null
+++ b/html-test/src/Bug188.hs
@@ -0,0 +1,7 @@
+-- Tests that the listed order of functions grouped under a single
+-- type signature is preserved as in-source. Before fixing #188, it
+-- seems to have preserved the first function but reversed the rest.
+module Bug188 where
+
+class A a where
+ f, g, h, i :: a -> ()