diff options
author | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-04-03 21:13:48 +0100 |
---|---|---|
committer | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-04-03 21:13:48 +0100 |
commit | 52103425e6d621523fb0ed5b5b83c2588cacc7b6 (patch) | |
tree | 0ecb2f2243a4d55f4ee8802919538d464a916b31 /html-test/src/BugDeprecated.hs | |
parent | c2a1f755565008efbee80cdd51eabeeb0606fe51 (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/BugDeprecated.hs')
-rw-r--r-- | html-test/src/BugDeprecated.hs | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/html-test/src/BugDeprecated.hs b/html-test/src/BugDeprecated.hs index 0f7ac2eb..7741786f 100644 --- a/html-test/src/BugDeprecated.hs +++ b/html-test/src/BugDeprecated.hs @@ -1,17 +1,25 @@ module BugDeprecated where -foo, bar, baz :: Int +foo :: Int foo = 23 + +bar :: Int bar = 23 + +baz :: Int baz = 23 {-# DEPRECATED foo "for foo" #-} {-# DEPRECATED bar "for bar" #-} {-# DEPRECATED baz "for baz" #-} --- | some documentation for one, two and three -one, two, three :: Int +-- | some documentation for one +one :: Int one = 23 + +two :: Int two = 23 + +three :: Int three = 23 {-# DEPRECATED one "for one" #-} {-# DEPRECATED two "for two" #-} |