[GHC] #11510: Missing Show instance for GHC.Stack.SrcLoc

GHC ghc-devs at haskell.org
Sat Feb 6 13:45:49 UTC 2016


#11510: Missing Show instance for GHC.Stack.SrcLoc
-------------------------------------+-------------------------------------
        Reporter:  SimonHengel       |                Owner:
            Type:  bug               |               Status:  patch
        Priority:  high              |            Milestone:  8.0.1
       Component:  Core Libraries    |              Version:  8.0.1-rc1
      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:D1886
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"38af3d1db2889423a12a2232b9d52181bba23d75/ghc" 38af3d1/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="38af3d1db2889423a12a2232b9d52181bba23d75"
 Add a derived `Show SrcLoc` instance

 Test Plan:
 ```
 ghci> import GHC.Stack
 ghci> SrcLoc "f" "b" "c" 1 2 3 4
 SrcLoc {srcLocPackage = "f", srcLocModule = "b", srcLocFile = "c",
 srcLocStartLine = 1, srcLocStartCol = 2, srcLocEndLine = 3,
 srcLocEndCol = 4}
 ```

 Reviewers: austin, hvr, bgamari

 Reviewed By: bgamari

 Subscribers: thomie

 Projects: #ghc

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

 GHC Trac Issues: #11510
 }}}

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


More information about the ghc-tickets mailing list