Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
b1a7a4d5
Commit
b1a7a4d5
authored
Feb 08, 2005
by
simonpj
Browse files
[project @ 2005-02-08 09:41:21 by simonpj]
Remove trace in mkGenericRhs (merge to STABLE)
parent
9803f480
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/types/Generics.lhs
View file @
b1a7a4d5
...
@@ -457,7 +457,7 @@ By the time the type checker has done its stuff we'll get
...
@@ -457,7 +457,7 @@ By the time the type checker has done its stuff we'll get
mkGenericRhs :: Id -> TyVar -> TyCon -> LHsExpr RdrName
mkGenericRhs :: Id -> TyVar -> TyCon -> LHsExpr RdrName
mkGenericRhs sel_id tyvar tycon
mkGenericRhs sel_id tyvar tycon
= ASSERT( isSingleton ctxt ) -- Checks shape of selector-id context
= ASSERT( isSingleton ctxt ) -- Checks shape of selector-id context
pprTrace "mkGenericRhs" (vcat [ppr sel_id, ppr (idType sel_id), ppr tyvar, ppr tycon, ppr local_tvs, ppr final_ty]) $
--
pprTrace "mkGenericRhs" (vcat [ppr sel_id, ppr (idType sel_id), ppr tyvar, ppr tycon, ppr local_tvs, ppr final_ty]) $
mkHsApp (toEP bimap) (nlHsVar (getRdrName sel_id))
mkHsApp (toEP bimap) (nlHsVar (getRdrName sel_id))
where
where
-- Initialising the "Environment" with the from/to functions
-- Initialising the "Environment" with the from/to functions
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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