From af3e6c7c027389df18b15ee9a9d72ffc97dc1852 Mon Sep 17 00:00:00 2001 From: Alex Biehl Date: Thu, 29 Jun 2017 19:54:49 +0200 Subject: Make per-argument docs for class methods work again (#648) * Make per-argument docs for class methods work again * Test case --- html-test/ref/Bug647.html | 114 ++++++++++++++++++++++++++++++++++++++++++++++ html-test/src/Bug647.hs | 6 +++ 2 files changed, 120 insertions(+) create mode 100644 html-test/ref/Bug647.html create mode 100644 html-test/src/Bug647.hs (limited to 'html-test') diff --git a/html-test/ref/Bug647.html b/html-test/ref/Bug647.html new file mode 100644 index 00000000..086840ab --- /dev/null +++ b/html-test/ref/Bug647.html @@ -0,0 +1,114 @@ +Bug647

Safe HaskellSafe

Bug647

Documentation

class Bug647 a where #

Minimal complete definition

f

Methods

f #

Arguments

:: a

doc for arg1

-> a

doc for arg2

-> a

doc for arg3

\ No newline at end of file diff --git a/html-test/src/Bug647.hs b/html-test/src/Bug647.hs new file mode 100644 index 00000000..4143092a --- /dev/null +++ b/html-test/src/Bug647.hs @@ -0,0 +1,6 @@ +module Bug647 where + +class Bug647 a where + f :: a -- ^ doc for arg1 + -> a -- ^ doc for arg2 + -> a -- ^ doc for arg3 \ No newline at end of file -- cgit v1.2.3