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
797a4623
Commit
797a4623
authored
May 10, 2018
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comments only
parent
819b9cfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
compiler/typecheck/TcInteract.hs
compiler/typecheck/TcInteract.hs
+2
-2
No files found.
compiler/typecheck/TcInteract.hs
View file @
797a4623
...
...
@@ -2507,8 +2507,8 @@ matchInstEnv dflags short_cut_solver clas tys loc
([(
ispec
,
inst_tys
)],
[]
,
False
)
|
short_cut_solver
,
isOverlappable
ispec
-- If the instance has OVERLAPPABLE or OVERLAPS
then
-- don't let the short-cut solver choose it, because a
-- If the instance has OVERLAPPABLE or OVERLAPS
or INCOHERENT
--
then
don't let the short-cut solver choose it, because a
-- later instance might overlap it. Trac #14434 is an example
-- See Note [Shortcut solving: overlap]
->
do
{
traceTcS
"matchClass: ingnoring overlappable"
(
ppr
pred
)
...
...
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