[GHC] #13371: instance selection too eager

GHC ghc-devs at haskell.org
Fri Mar 3 16:08:04 UTC 2017


#13371: instance selection too eager
-------------------------------------+-------------------------------------
           Reporter:  aavogt         |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.2
  (Type checker)                     |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 I see a regression in 8.0.2: the `g_f'` definition is rejected. The error
 goes away if I do one of:

  * -XNoMonoLocalBinds

  * -XNoPolyKinds

  * pasting the inferred type of `g_f`

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


More information about the ghc-tickets mailing list