[GHC] #8138: Core lint fails with error "Role incompatibility: expected N, got R"

GHC ghc-devs at haskell.org
Fri Aug 16 21:24:30 CEST 2013


#8138: Core lint fails with error "Role incompatibility: expected N, got R"
-------------------------------------+------------------------------------
        Reporter:  gmainland         |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  Other             |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by Richard Eisenberg <eir@…>):

 In [changeset:ac382ab999dfcc612550f0ea95e750fe44ba4a9d/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="ac382ab999dfcc612550f0ea95e750fe44ba4a9d"
 Fix Trac #8138.

 The code in CoreLint did not take into account the possibility of
 ~R# arguments to functions. These can arise in argToPat in SpecConstr.
 Now, CoreLint does not fail when it sees a ~R# parameter.

 This commit also updates the core-spec document accordingly.
 }}}

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




More information about the ghc-tickets mailing list