Commit 797a4623 authored by Simon Peyton Jones's avatar Simon Peyton Jones

Comments only

parent 819b9cfd
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment