[GHC] #11213: Incorrect reported pattern synonym signature

GHC ghc-devs at haskell.org
Sat Apr 2 21:38:52 UTC 2016


#11213: Incorrect reported pattern synonym signature
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  7.10.3
  checker)                           |             Keywords:
      Resolution:                    |  PatternSynonyms
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1896
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Matthew Pickering <matthewtpickering@…>):

 In [changeset:"72bd7f7be7809076f321a6fca90024e3e1bde3cc/ghc"
 72bd7f7b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="72bd7f7be7809076f321a6fca90024e3e1bde3cc"
 Improve printing of pattern synonym types

 Add the function `pprPatSynType :: PatSyn -> SDoc` for printing pattern
 synonym types, and remove the ambiguous `patSynType` function. Also,
 the types in a `PatSyn` are now tidy.

 Haddock submodule updated to reflect the removal of `patSynType` by
 mpickering.

 Fixes: #11213.

 Reviewers: goldfire, simonpj, austin, mpickering, bgamari

 Reviewed By: simonpj, mpickering

 Subscribers: bollmann, simonpj, thomie

 Differential Revision: https://phabricator.haskell.org/D1896

 GHC Trac Issues: #11213
 }}}

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


More information about the ghc-tickets mailing list