summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T9140.stdout
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2015-01-06 12:28:37 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2015-01-06 12:29:35 +0000
commitd2b6e7671e823fce0c0fbb2bed739fa948a23219 (patch)
tree95dbb9960e38677c8810bb9f747f055d7e60a560 /testsuite/tests/ghci/scripts/T9140.stdout
parent696f2cfdea4ab87cc457b141323bb25ab4afe795 (diff)
downloadhaskell-d2b6e7671e823fce0c0fbb2bed739fa948a23219.tar.gz
Make the location in TcLclEnv and CtLoc into a RealSrcSpan
Previously it was a SrcSpan, which can be an UnhelpulSrcSpan, but actually for TcLclEnv and CtLoc we always know it is a real source location, and it's good to make the types reflect that fact. There is a continuing slight awkwardness (not new with this patch) about what "file name" to use for GHCi code. Current we say "<interactive>" which seems just about OK.
Diffstat (limited to 'testsuite/tests/ghci/scripts/T9140.stdout')
-rw-r--r--testsuite/tests/ghci/scripts/T9140.stdout2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/scripts/T9140.stdout b/testsuite/tests/ghci/scripts/T9140.stdout
index a5cb42f58a..401c8741c5 100644
--- a/testsuite/tests/ghci/scripts/T9140.stdout
+++ b/testsuite/tests/ghci/scripts/T9140.stdout
@@ -9,6 +9,6 @@
a = (# 1, 3 #)
Probable fix: use a bang pattern
-Top level:
+<interactive>:1:1:
GHCi can't bind a variable of unlifted type:
a :: (# Integer, Integer #)