Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
db7ce4c9
Commit
db7ce4c9
authored
Aug 11, 2006
by
simonpj@microsoft.com
Browse files
Go back to calling type veriables t
parent
68bc0b6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/typecheck/TcMType.lhs
View file @
db7ce4c9
...
...
@@ -200,9 +200,13 @@ newMetaTyVar box_info kind
; ref <- newMutVar Flexi ;
; let name = mkSysTvName uniq fs
fs = case box_info of
BoxTv -> FSLIT("
bx
")
BoxTv -> FSLIT("
t
")
TauTv -> FSLIT("t")
SigTv _ -> FSLIT("a")
-- We give BoxTv and TauTv the same string, because
-- otherwise we get user-visible differences in error
-- messages, which are confusing. If you want to see
-- the box_info of each tyvar, use -dppr-debug
; return (mkTcTyVar name kind (MetaTv box_info ref)) }
instMetaTyVar :: BoxInfo -> TyVar -> TcM TcTyVar
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment