aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2019-01-07 13:55:22 -0800
committerGitHub <noreply@github.com>2019-01-07 13:55:22 -0800
commita6504507cb7f575dad63aa9f992cfc8d4f70c582 (patch)
tree8f2cf19af05c675454ad1ea7b02860e6d0886ca9 /hoogle-test
parent39251d3aa339958aafd8b955f41323a8b0b60012 (diff)
Print kinded tyvars in constructors for Hoogle (#993)
Fixes #992
Diffstat (limited to 'hoogle-test')
-rw-r--r--hoogle-test/ref/Bug992/test.txt9
-rw-r--r--hoogle-test/src/Bug992/Bug992.hs5
2 files changed, 14 insertions, 0 deletions
diff --git a/hoogle-test/ref/Bug992/test.txt b/hoogle-test/ref/Bug992/test.txt
new file mode 100644
index 00000000..8ae145c3
--- /dev/null
+++ b/hoogle-test/ref/Bug992/test.txt
@@ -0,0 +1,9 @@
+-- Hoogle documentation, generated by Haddock
+-- See Hoogle, http://www.haskell.org/hoogle/
+
+@package test
+@version 0.0.0
+
+module Bug992
+data K (m :: * -> *)
+K :: K (m :: * -> *)
diff --git a/hoogle-test/src/Bug992/Bug992.hs b/hoogle-test/src/Bug992/Bug992.hs
new file mode 100644
index 00000000..bd772427
--- /dev/null
+++ b/hoogle-test/src/Bug992/Bug992.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE KindSignatures #-}
+
+module Bug992 where
+
+data K (m :: * -> *) = K