aboutsummaryrefslogtreecommitdiff
path: root/html-test/src
diff options
context:
space:
mode:
Diffstat (limited to 'html-test/src')
-rw-r--r--html-test/src/Bug679.hs2
-rw-r--r--html-test/src/FunArgs.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/html-test/src/Bug679.hs b/html-test/src/Bug679.hs
index dba194c4..0a321ec5 100644
--- a/html-test/src/Bug679.hs
+++ b/html-test/src/Bug679.hs
@@ -13,7 +13,7 @@ $(do
let methodN = mkName "foo"
methodTy <- [t| $(varT a) -> $(varT a) |]
- let cla = ClassD [] classN [PlainTV a] [] [SigD methodN methodTy]
+ let cla = ClassD [] classN [PlainTV a ()] [] [SigD methodN methodTy]
-- Note that we are /reusing/ the same type variable 'a' as in the class
instanceHead <- [t| $(conT classN) (Bar $(varT a)) |]
diff --git a/html-test/src/FunArgs.hs b/html-test/src/FunArgs.hs
index 24e1ccff..e20bcda7 100644
--- a/html-test/src/FunArgs.hs
+++ b/html-test/src/FunArgs.hs
@@ -22,7 +22,7 @@ h :: forall a b c
-> b -- ^ Second argument
-> c -- ^ Third argument
-> forall d. d -- ^ Result
-h = undefined
+h _ _ _ = undefined
i :: forall a (b :: ()) d. (d ~ '())