[GHC] #8705: Type inference regression with local dictionaries

GHC ghc-devs at haskell.org
Mon Feb 17 17:46:38 UTC 2014


#8705: Type inference regression with local dictionaries
--------------------------------------------+------------------------------
        Reporter:  goldfire                 |            Owner:
            Type:  bug                      |           Status:  new
        Priority:  high                     |        Milestone:  7.8.1
       Component:  Compiler (Type checker)  |          Version:  7.8.1-rc1
      Resolution:                           |         Keywords:
Operating System:  Unknown/Multiple         |     Architecture:
 Type of failure:  None/Unknown             |  Unknown/Multiple
       Test Case:                           |       Difficulty:  Unknown
        Blocking:                           |       Blocked By:
                                            |  Related Tickets:
--------------------------------------------+------------------------------

Comment (by goldfire):

 Your text is correct, but your code is not. I believe you meant

 {{{
 G1:   lst ~ n1 : []
 G2:   lst ~ n0 : n2
 G3:   n :<=: n0
 }}}

 Note the `n0` in the last line. Otherwise, yes, I agree with your comment.

 I'll try to reduce the case more, yes.

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


More information about the ghc-tickets mailing list