aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug253.hs
diff options
context:
space:
mode:
Diffstat (limited to 'html-test/src/Bug253.hs')
-rw-r--r--html-test/src/Bug253.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/html-test/src/Bug253.hs b/html-test/src/Bug253.hs
new file mode 100644
index 00000000..499f6cd4
--- /dev/null
+++ b/html-test/src/Bug253.hs
@@ -0,0 +1,10 @@
+-- | This module tests that if we're trying to link to a /qualified/
+-- identifier that's not in scope, we get an anchor as if it was a
+-- variable. Previous behaviour was to treat it as a type constructor
+-- so issue like #253 arose. Also see @rename@ function comments in
+-- source.
+module Bug253 where
+
+-- | This link should generate @#v@ anchor: 'DoesNotExist.fakeFakeFake'
+foo :: ()
+foo = ()