[GHC] #14643: Partial type signatures in class constraints behave unexpectedly (was: Partial type signatures interact unexpectedly with :browse)

GHC ghc-devs at haskell.org
Mon Jan 8 08:55:30 UTC 2018


#14643: Partial type signatures in class constraints behave unexpectedly
-------------------------------------+-------------------------------------
        Reporter:  mnislaih          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:
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 mnislaih):

 Hi Ryan, thanks for the even smaller example! For some reason I didn't
 think of removing the TH splice. But just to clarify, this issue is not
 restricted to `:browse`. The resulting type signatures with `Any` in them
 cannot be instantiated, or at least I haven't figured out how.

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


More information about the ghc-tickets mailing list