[GHC] #11977: ghc doesn't agree with its own inferred pattern type

GHC ghc-devs at haskell.org
Mon Apr 25 02:26:31 UTC 2016


#11977: ghc doesn't agree with its own inferred pattern type
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
                                     |  PatternSynonyms
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by cactus):

 Ewww. In the representation of `PatSyn`s, the types of arguments and the
 type of the scrutinee are stored separately, so that shouldn't be an
 issue. However, I have no idea what the surface syntax should be for
 presenting such a type.

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


More information about the ghc-tickets mailing list