[GHC] #4239: -ddump-minimal-imports vs. type operators

GHC ghc-devs at haskell.org
Thu Sep 1 18:59:26 UTC 2016


#4239: -ddump-minimal-imports vs. type operators
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:  T4239
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2480
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"8d35e18d885e60f998a9dddb6db19762fe4c6d92/ghc" 8d35e18/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="8d35e18d885e60f998a9dddb6db19762fe4c6d92"
 Fix startsVarSym and refactor operator predicates (fixes #4239)

 startsVarSym used isSymbol which does not recognize valid operators
 beginning with OtherPunctuation generalCategory (e. g. (·)).
 Move it to ghc-boot-th for reducing duplication.

 This patch fixes template-haskell pretty printer, which is used by
 -ddump-minimal-imports.

 Reviewers: austin, bgamari

 Reviewed By: bgamari

 Subscribers: thomie

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

 GHC Trac Issues: #4239
 }}}

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


More information about the ghc-tickets mailing list