summaryrefslogtreecommitdiff
path: root/compiler/GHC/Types/Literal.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Types/Literal.hs')
-rw-r--r--compiler/GHC/Types/Literal.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Types/Literal.hs b/compiler/GHC/Types/Literal.hs
index 6240e3347a..5b14ecc78d 100644
--- a/compiler/GHC/Types/Literal.hs
+++ b/compiler/GHC/Types/Literal.hs
@@ -853,7 +853,7 @@ literalType (LitNumber lt _) = case lt of
literalType (LitRubbish rep)
= mkForAllTy a Inferred (mkTyVarTy a)
where
- a = mkTemplateKindVar (tYPE rep)
+ a = mkTemplateKindVar (mkTYPEapp rep)
{-
Comparison