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
Alfredo Di Napoli
GHC
Commits
aff5bb47
Commit
aff5bb47
authored
Jan 30, 2016
by
eir@cis.upenn.edu
Browse files
Add missing kind cast to pure unifier.
parent
90f35612
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/types/Unify.hs
View file @
aff5bb47
...
...
@@ -788,7 +788,7 @@ uVar tv1 ty kco
-- this is because the range of the subst is the target
-- type, not the template type. So, just check for
-- normal type equality.
guard
(
ty'
`
eqType
`
ty
)
}
guard
(
(
ty'
`
mkCastTy
`
kco
)
`
eqType
`
ty
)
}
Nothing
->
uUnrefined
tv1
ty
ty
kco
}
-- No, continue
uUnrefined
::
TyVar
-- variable to be unified
...
...
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