[commit: ghc] master: Fix off-by-one error in GHCi line reporting (Trac #10578) (a5e9da8)
git at git.haskell.org
git at git.haskell.org
Thu Jul 16 22:08:03 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a5e9da8feb5110ab8ee8fe3821e6b6d53946f983/ghc
>---------------------------------------------------------------
commit a5e9da8feb5110ab8ee8fe3821e6b6d53946f983
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date: Fri Jul 17 00:06:28 2015 +0200
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
>---------------------------------------------------------------
a5e9da8feb5110ab8ee8fe3821e6b6d53946f983
ghc/InteractiveUI.hs | 9 +++++---
.../tests/ghci.debugger/scripts/break003.stderr | 2 +-
.../tests/ghci.debugger/scripts/break006.stderr | 8 ++++----
.../tests/ghci.debugger/scripts/print019.stderr | 4 ++--
testsuite/tests/ghci/prog009/ghci.prog009.stderr | 2 +-
testsuite/tests/ghci/prog013/prog013.stderr | 2 +-
testsuite/tests/ghci/scripts/Defer02.stderr | 4 ++--
testsuite/tests/ghci/scripts/T10248.stderr | 4 ++--
testsuite/tests/ghci/scripts/T2182ghci.stderr | 10 ++++-----
testsuite/tests/ghci/scripts/T2182ghci2.stderr | 4 ++--
testsuite/tests/ghci/scripts/T2816.stderr | 2 +-
testsuite/tests/ghci/scripts/T4127a.stderr | 6 +++---
testsuite/tests/ghci/scripts/T5564.stderr | 8 ++++----
testsuite/tests/ghci/scripts/T6027ghci.stdout | 2 +-
testsuite/tests/ghci/scripts/T7730.stdout | 4 ++--
testsuite/tests/ghci/scripts/T7872.stdout | 4 ++--
testsuite/tests/ghci/scripts/T7873.stdout | 4 ++--
testsuite/tests/ghci/scripts/T8485.stderr | 2 +-
testsuite/tests/ghci/scripts/T8579.stdout | 4 ++--
testsuite/tests/ghci/scripts/T8649.stderr | 6 +++---
testsuite/tests/ghci/scripts/T8959.stderr | 6 +++---
testsuite/tests/ghci/scripts/T9140.stdout | 4 ++--
testsuite/tests/ghci/scripts/T9293.stderr | 2 +-
testsuite/tests/ghci/scripts/ghci012.stdout | 2 +-
testsuite/tests/ghci/scripts/ghci040.stdout | 2 +-
testsuite/tests/ghci/scripts/ghci041.stdout | 2 +-
testsuite/tests/ghci/scripts/ghci042.stdout | 10 ++++-----
testsuite/tests/ghci/scripts/ghci044.stderr | 6 +++---
testsuite/tests/ghci/scripts/ghci047.stderr | 4 ++--
testsuite/tests/ghci/scripts/ghci048.stderr | 12 +++++------
testsuite/tests/ghci/scripts/ghci050.stderr | 10 ++++-----
testsuite/tests/ghci/scripts/ghci051.stderr | 6 +++---
testsuite/tests/ghci/scripts/ghci051.stdout | 18 ++++++++--------
testsuite/tests/ghci/scripts/ghci052.stderr | 24 +++++++++++-----------
testsuite/tests/ghci/scripts/ghci053.stderr | 12 +++++------
testsuite/tests/ghci/scripts/ghci057.stderr | 2 +-
testsuite/tests/ghci/should_run/T9914.stdout | 4 ++--
testsuite/tests/ghci/should_run/T9915.stderr | 2 +-
testsuite/tests/patsyn/should_run/ghci.stderr | 2 +-
testsuite/tests/patsyn/should_run/ghci.stdout | 2 +-
testsuite/tests/safeHaskell/ghci/p10.stderr | 2 +-
testsuite/tests/safeHaskell/ghci/p13.stderr | 4 ++--
testsuite/tests/safeHaskell/ghci/p14.stderr | 2 +-
testsuite/tests/safeHaskell/ghci/p16.stderr | 8 ++++----
testsuite/tests/safeHaskell/ghci/p4.stderr | 6 +++---
testsuite/tests/safeHaskell/ghci/p6.stderr | 6 +++---
testsuite/tests/safeHaskell/ghci/p9.stderr | 2 +-
testsuite/tests/th/T7276a.stdout | 4 ++--
48 files changed, 130 insertions(+), 127 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc a5e9da8feb5110ab8ee8fe3821e6b6d53946f983
More information about the ghc-commits
mailing list