Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
82c6e1c6
Commit
82c6e1c6
authored
Jan 28, 2008
by
simonpj@microsoft.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo where I forgot the new substitution
parent
4d7fed4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
compiler/types/Unify.lhs
compiler/types/Unify.lhs
+2
-1
No files found.
compiler/types/Unify.lhs
View file @
82c6e1c6
...
...
@@ -161,7 +161,8 @@ match menv subst (TyVarTy tv1) ty2
-> Nothing -- Occurs check
| otherwise
-> do { subst1 <- match_kind menv subst tv1 ty2
; return (extendVarEnv subst tv1' ty2) }
; return (extendVarEnv subst1 tv1' ty2) }
-- Note [Matching kinds]
Just ty1' -- There is an existing binding; check whether ty2 matches it
| tcEqTypeX (nukeRnEnvL rn_env) ty1' ty2
...
...
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