Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
ba7f5c4d
Commit
ba7f5c4d
authored
Nov 12, 2001
by
simonpj
Browse files
[project @ 2001-11-12 12:18:50 by simonpj]
Remove pprTrace
parent
124690e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/types/InstEnv.lhs
View file @
ba7f5c4d
...
@@ -286,11 +286,6 @@ lookupInstEnv env key_cls key_tys
...
@@ -286,11 +286,6 @@ lookupInstEnv env key_cls key_tys
Nothing -> find rest
Nothing -> find rest
Just _ -> NoMatch (any_match rest)
Just _ -> NoMatch (any_match rest)
Just (subst, leftovers) -> ASSERT( null leftovers )
Just (subst, leftovers) -> ASSERT( null leftovers )
#ifdef DEBUG
pprTrace "lookupInst" (vcat [text "look:" <+> ppr key_cls <+> ppr key_tys,
text "found:" <+> ppr dfun_id,
text "env:" <+> ppr (classInstEnv env key_cls)]) $
#endif
FoundInst subst dfun_id
FoundInst subst dfun_id
any_match rest = or [ maybeToBool (matchTys tvs tpl key_tys)
any_match rest = or [ maybeToBool (matchTys tvs tpl key_tys)
...
...
Write
Preview
Supports
Markdown
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