[GHC] #10816: Fixity declaration for associated type rejected

GHC ghc-devs at haskell.org
Wed Oct 11 12:57:55 UTC 2017


#10816: Fixity declaration for associated type rejected
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4077
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ryan Scott <ryan.gl.scott@…>):

 In [changeset:"9c3f73168a6f7f6632b6a3ffd2cfcd774976a7f1/ghc" 9c3f731/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="9c3f73168a6f7f6632b6a3ffd2cfcd774976a7f1"
 Fix #10816 by renaming FixitySigs more consistently

 Summary:
 #10816 surfaced because we were renaming top-level fixity
 declarations with a different code path (`rnSrcFixityDecl`) than
 the code path for fixity declarations inside of type classes, which
 is not privy to names that exist in the type namespace. Luckily, the
 fix is simple: use `rnSrcFixityDecl` in both places.

 Test Plan: make test TEST=T10816

 Reviewers: austin, bgamari, simonpj

 Reviewed By: simonpj

 Subscribers: simonpj, rwbarton, thomie

 GHC Trac Issues: #10816

 Differential Revision: https://phabricator.haskell.org/D4077
 }}}

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


More information about the ghc-tickets mailing list