Commit 5133bb97 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Allocate a fresh META unique in newMetaKindVar

Fixes Trac #7176 on the branch.  HEAD has a better fix
(the big patch to untouchable handling)
parent ab4c7d3b
......@@ -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)) }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment