Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ import Data.List ( (\\), partition, mapAccumL ) ...@@ -113,7 +113,7 @@ import Data.List ( (\\), partition, mapAccumL )
\begin{code} \begin{code}
newMetaKindVar :: TcM TcKind newMetaKindVar :: TcM TcKind
newMetaKindVar = do { uniq <- newUnique newMetaKindVar = do { uniq <- newMetaUnique
; ref <- newMutVar Flexi ; ref <- newMutVar Flexi
; return (mkTyVarTy (mkMetaKindVar uniq ref)) } ; return (mkTyVarTy (mkMetaKindVar uniq ref)) }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment