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
b2d27e42
Commit
b2d27e42
authored
Dec 16, 2011
by
dreixel
Browse files
Fix a bug in TcCanonical (Dimitrios spotted)
parent
e3289425
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/typecheck/TcCanonical.lhs
View file @
b2d27e42
...
...
@@ -1296,7 +1296,7 @@ canEqLeafTyVarLeft d fl eqv tv s2 -- eqv : tv ~ s2
; if no_flattening_happened then
if isNothing occ_check_result then
canEqFailure d fl
eqv
canEqFailure d fl
(setVarType eqv $ mkEqPred (mkTyVarTy tv, xi2'))
else
continueWith $ CTyEqCan { cc_id = eqv
, cc_flavor = fl
...
...
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