[GHC] #15621: Error message involving type families points to wrong location

GHC ghc-devs at haskell.org
Fri Sep 14 08:00:24 UTC 2018


#15621: Error message involving type families points to wrong location
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler (Type    |              Version:  8.4.3
  checker)                           |
      Resolution:                    |             Keywords:  TypeFamilies
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > The solution to #14185 improves the status quo, but only by a lucky
 coincidence (that the problems in both tickets stem from two different
 functions)

 NO, as I say in comment:7, each type signature makes a new implication
 constraint, so that'll keep their constraints separate.

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


More information about the ghc-tickets mailing list