From a5e9da8feb5110ab8ee8fe3821e6b6d53946f983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Sinan=20A=C4=9Facan?= Date: Fri, 17 Jul 2015 00:06:28 +0200 Subject: 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 --- testsuite/tests/ghci/scripts/T7872.stdout | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/tests/ghci/scripts/T7872.stdout') diff --git a/testsuite/tests/ghci/scripts/T7872.stdout b/testsuite/tests/ghci/scripts/T7872.stdout index 81d960947c..4c577ce1cd 100644 --- a/testsuite/tests/ghci/scripts/T7872.stdout +++ b/testsuite/tests/ghci/scripts/T7872.stdout @@ -1,2 +1,2 @@ -type T = forall a. a -> a -- Defined at :3:1 -data D = MkT (forall b. b -> b) -- Defined at :4:1 +type T = forall a. a -> a -- Defined at :2:1 +data D = MkT (forall b. b -> b) -- Defined at :3:1 -- cgit v1.2.1