[GHC] #15147: Type checker plugin receives Wanteds that are not completely unflattened

GHC ghc-devs at haskell.org
Mon Jun 4 08:55:22 UTC 2018


#15147: Type checker plugin receives Wanteds that are not completely unflattened
-------------------------------------+-------------------------------------
        Reporter:  nfrisby           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler (Type    |              Version:  8.4.1
  checker)                           |             Keywords:
      Resolution:                    |  TypeCheckerPlugins
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > The issue here is that the wanteds are now sometimes not fully
 unflattened, isn't it?

 No, the reported issue (in the Description) is that a Given `CFunEqCan`
 remains.  I believe that all Wanted `CFunEqCans` are removed.

 It's inconsistent, I know, but hard to fix -- except by leaving the Wanted
 `CFunEqCans` too.  Which might be useful for some...

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15147#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list