summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/ghci.debugger
diff options
context:
space:
mode:
authorsimonpj <simonpj@microsoft.com>2010-09-09 08:55:24 +0000
committersimonpj <simonpj@microsoft.com>2010-09-09 08:55:24 +0000
commit83c60bb71212a12140df45cfbb2cb9d2bcd658d1 (patch)
tree3eb5d20da3e90d5e43628f17706bcdc4e8e12849 /testsuite/tests/ghc-regress/ghci.debugger
parent8bae12e2e1ef04cb72fb3c2c389408e74c3ba9f8 (diff)
downloadhaskell-83c60bb71212a12140df45cfbb2cb9d2bcd658d1.tar.gz
Accept output
Diffstat (limited to 'testsuite/tests/ghc-regress/ghci.debugger')
-rw-r--r--testsuite/tests/ghc-regress/ghci.debugger/scripts/break001.stderr3
-rw-r--r--testsuite/tests/ghc-regress/ghci.debugger/scripts/break003.stderr2
-rw-r--r--testsuite/tests/ghc-regress/ghci.debugger/scripts/break006.stderr6
-rw-r--r--testsuite/tests/ghc-regress/ghci.debugger/scripts/print019.stderr3
4 files changed, 9 insertions, 5 deletions
diff --git a/testsuite/tests/ghc-regress/ghci.debugger/scripts/break001.stderr b/testsuite/tests/ghc-regress/ghci.debugger/scripts/break001.stderr
index 5740d9f65e..cb0cc93ac7 100644
--- a/testsuite/tests/ghc-regress/ghci.debugger/scripts/break001.stderr
+++ b/testsuite/tests/ghc-regress/ghci.debugger/scripts/break001.stderr
@@ -1,6 +1,7 @@
<interactive>:1:1:
Ambiguous type variable `t' in the constraint:
- `Show t' arising from a use of `print' at <interactive>:1:1
+ (Show t) arising from a use of `print'
Cannot resolve unknown runtime types: t
Use :print or :force to determine these types
+ In a stmt of an interactive GHCi command: print it
diff --git a/testsuite/tests/ghc-regress/ghci.debugger/scripts/break003.stderr b/testsuite/tests/ghc-regress/ghci.debugger/scripts/break003.stderr
index d9be247b8d..f640cb0fab 100644
--- a/testsuite/tests/ghc-regress/ghci.debugger/scripts/break003.stderr
+++ b/testsuite/tests/ghc-regress/ghci.debugger/scripts/break003.stderr
@@ -1,6 +1,6 @@
<interactive>:1:1:
No instance for (Show (t -> a))
- arising from a use of `print' at <interactive>:1:1
+ arising from a use of `print'
Possible fix: add an instance declaration for (Show (t -> a))
In a stmt of an interactive GHCi command: print it
diff --git a/testsuite/tests/ghc-regress/ghci.debugger/scripts/break006.stderr b/testsuite/tests/ghc-regress/ghci.debugger/scripts/break006.stderr
index 291d3614db..31c3f94f1b 100644
--- a/testsuite/tests/ghc-regress/ghci.debugger/scripts/break006.stderr
+++ b/testsuite/tests/ghc-regress/ghci.debugger/scripts/break006.stderr
@@ -1,12 +1,14 @@
<interactive>:1:1:
Ambiguous type variable `a' in the constraint:
- `Show a' arising from a use of `print' at <interactive>:1:1-3
+ (Show a) arising from a use of `print'
Cannot resolve unknown runtime types: a
Use :print or :force to determine these types
+ In a stmt of an interactive GHCi command: print it
<interactive>:1:1:
Ambiguous type variable `a' in the constraint:
- `Show a' arising from a use of `print' at <interactive>:1:1
+ (Show a) arising from a use of `print'
Cannot resolve unknown runtime types: a
Use :print or :force to determine these types
+ In a stmt of an interactive GHCi command: print it
diff --git a/testsuite/tests/ghc-regress/ghci.debugger/scripts/print019.stderr b/testsuite/tests/ghc-regress/ghci.debugger/scripts/print019.stderr
index 00c002df4b..ba28b78f34 100644
--- a/testsuite/tests/ghc-regress/ghci.debugger/scripts/print019.stderr
+++ b/testsuite/tests/ghc-regress/ghci.debugger/scripts/print019.stderr
@@ -1,6 +1,7 @@
<interactive>:1:1:
Ambiguous type variable `t1' in the constraint:
- `Show t1' arising from a use of `print' at <interactive>:1:1-3
+ (Show t1) arising from a use of `print'
Cannot resolve unknown runtime types: t1
Use :print or :force to determine these types
+ In a stmt of an interactive GHCi command: print it