[GHC] #9888: Inconsistent type family resolution

GHC ghc-devs at haskell.org
Tue Dec 16 01:56:41 UTC 2014


#9888: Inconsistent type family resolution
-------------------------------------+-------------------------------------
              Reporter:  crockeea    |            Owner:
                  Type:  bug         |           Status:  closed
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:  duplicate   |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  GHC         |       Blocked By:
  rejects valid program              |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by goldfire):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 This looks like a duplicate of #9433. You've used `(==)` unapplied in your
 code, which is against the rules. It should be a syntax error, but
 instead, GHC attempts to make progress and falls flat on its face.

 Instead of `(TyCon2 (==))` in that spot, try `(:==$)`.

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


More information about the ghc-tickets mailing list