summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-09-14 11:12:01 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-09-14 11:12:01 +0100
commitf4c327ad08d9df0fbafa0ad476a9ef26f8cd6abb (patch)
tree2789f376a5b8ba9840b13734fc5ac46493ea5eec
parent77b63e74454170bd658c6773b9d5c172920d5cc5 (diff)
downloadhaskell-f4c327ad08d9df0fbafa0ad476a9ef26f8cd6abb.tar.gz
When allocating a new kind variable, do so with newMetaUnique
-rw-r--r--compiler/typecheck/TcMType.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/typecheck/TcMType.lhs b/compiler/typecheck/TcMType.lhs
index a212f2506d..67ed96731d 100644
--- a/compiler/typecheck/TcMType.lhs
+++ b/compiler/typecheck/TcMType.lhs
@@ -113,7 +113,7 @@ import Data.List ( (\\), partition, mapAccumL )
\begin{code}
newMetaKindVar :: TcM TcKind
-newMetaKindVar = do { uniq <- newUnique
+newMetaKindVar = do { uniq <- newMetaUnique
; ref <- newMutVar Flexi
; return (mkTyVarTy (mkMetaKindVar uniq ref)) }