[GHC] #10578: ghci line numbers are off by one

GHC ghc-devs at haskell.org
Thu Jul 16 22:07:40 UTC 2015


#10578: ghci line numbers are off by one
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:  osa1
            Type:  bug               |                  Status:  new
        Priority:  low               |               Milestone:
       Component:  GHCi              |                 Version:  7.10.1
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:  D1067
-------------------------------------+-------------------------------------

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

 In [changeset:"a5e9da8feb5110ab8ee8fe3821e6b6d53946f983/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a5e9da8feb5110ab8ee8fe3821e6b6d53946f983"
 Fix off-by-one error in GHCi line reporting (Trac #10578)

 Test Plan: I couldn't add tests because apparently line number
 reporting was already working correctly when loading script files. I
 don't know how to test by running commands using stdin, is this
 supported?

 Reviewers: austin, thomie, bgamari

 Reviewed By: thomie, bgamari

 Subscribers: hvr, thomie

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

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


More information about the ghc-tickets mailing list