diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2013-02-14 14:46:13 +0000 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2013-02-14 14:46:13 +0000 |
commit | b3bf41f3d1eaa618cee9746a948c7b1c318d15c4 (patch) | |
tree | 3bb8096502f00d5bef47a5d96a8e48465843bd6d /testsuite/tests/ghci.debugger/scripts | |
parent | 00a3d583c3567dfdd8cf4d2d194487175335c52d (diff) | |
download | haskell-b3bf41f3d1eaa618cee9746a948c7b1c318d15c4.tar.gz |
Error message wibbles when adding overloaded lists
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts')
7 files changed, 26 insertions, 26 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/break003.stderr b/testsuite/tests/ghci.debugger/scripts/break003.stderr index 03dc88bfd8..fc7bb337d1 100644 --- a/testsuite/tests/ghci.debugger/scripts/break003.stderr +++ b/testsuite/tests/ghci.debugger/scripts/break003.stderr @@ -1,4 +1,4 @@ <interactive>:5:1: - No instance for (Show (t -> a)) arising from a use of `print' + No instance for (Show (t -> t1)) arising from a use of `print' In a stmt of an interactive GHCi command: print it diff --git a/testsuite/tests/ghci.debugger/scripts/break003.stdout b/testsuite/tests/ghci.debugger/scripts/break003.stdout index ed418836c8..a48f74c4c3 100644 --- a/testsuite/tests/ghci.debugger/scripts/break003.stdout +++ b/testsuite/tests/ghci.debugger/scripts/break003.stdout @@ -1,6 +1,6 @@ Breakpoint 0 activated at ../Test3.hs:2:18-31 Stopped at ../Test3.hs:2:18-31 -_result :: [a] = _ -f :: t -> a = _ +_result :: [t1] = _ +f :: t -> t1 = _ x :: t = _ xs :: [t] = [_] diff --git a/testsuite/tests/ghci.debugger/scripts/break005.stdout b/testsuite/tests/ghci.debugger/scripts/break005.stdout index 82fc681105..65eeb56cf1 100644 --- a/testsuite/tests/ghci.debugger/scripts/break005.stdout +++ b/testsuite/tests/ghci.debugger/scripts/break005.stdout @@ -1,5 +1,5 @@ Stopped at ../QSort.hs:(4,1)-(6,55) -_result :: [a] = _ +_result :: [t] = _ Stopped at ../QSort.hs:5:16-51 _result :: [Integer] = _ a :: Integer = 1 diff --git a/testsuite/tests/ghci.debugger/scripts/break006.stderr b/testsuite/tests/ghci.debugger/scripts/break006.stderr index 45f6f83437..9543d675e2 100644 --- a/testsuite/tests/ghci.debugger/scripts/break006.stderr +++ b/testsuite/tests/ghci.debugger/scripts/break006.stderr @@ -1,9 +1,9 @@ <interactive>:6:1: - No instance for (Show a) arising from a use of `print' - Cannot resolve unknown runtime type `a' + No instance for (Show t1) arising from a use of `print' + Cannot resolve unknown runtime type `t1' Use :print or :force to determine these types - Relevant bindings include it :: a (bound at <interactive>:6:1) + Relevant bindings include it :: t1 (bound at <interactive>:6:1) Note: there are several potential instances: instance Show Double -- Defined in `GHC.Float' instance Show Float -- Defined in `GHC.Float' @@ -13,10 +13,10 @@ In a stmt of an interactive GHCi command: print it <interactive>:8:1: - No instance for (Show a) arising from a use of `print' - Cannot resolve unknown runtime type `a' + No instance for (Show t1) arising from a use of `print' + Cannot resolve unknown runtime type `t1' Use :print or :force to determine these types - Relevant bindings include it :: a (bound at <interactive>:8:1) + Relevant bindings include it :: t1 (bound at <interactive>:8:1) Note: there are several potential instances: instance Show Double -- Defined in `GHC.Float' instance Show Float -- Defined in `GHC.Float' diff --git a/testsuite/tests/ghci.debugger/scripts/break006.stdout b/testsuite/tests/ghci.debugger/scripts/break006.stdout index b78f4f365b..7e5edbf9d2 100644 --- a/testsuite/tests/ghci.debugger/scripts/break006.stdout +++ b/testsuite/tests/ghci.debugger/scripts/break006.stdout @@ -1,15 +1,15 @@ Stopped at ../Test3.hs:(1,1)-(2,31) -_result :: [a] = _ +_result :: [t1] = _ Stopped at ../Test3.hs:2:18-31 -_result :: [a] = _ -f :: Integer -> a = _ +_result :: [t1] = _ +f :: Integer -> t1 = _ x :: Integer = 1 xs :: [Integer] = [2,3] xs :: [Integer] = [2,3] x :: Integer = 1 -f :: Integer -> a = _ -_result :: [a] = _ -y = (_t1::a) +f :: Integer -> t1 = _ +_result :: [t1] = _ +y = (_t1::t1) y = 2 xs :: [Integer] = [2,3] x :: Integer = 1 diff --git a/testsuite/tests/ghci.debugger/scripts/break027.stdout b/testsuite/tests/ghci.debugger/scripts/break027.stdout index fdacda8d85..bac674b946 100644 --- a/testsuite/tests/ghci.debugger/scripts/break027.stdout +++ b/testsuite/tests/ghci.debugger/scripts/break027.stdout @@ -1,6 +1,6 @@ Breakpoint 0 activated at ../QSort.hs:(4,1)-(6,55) Stopped at ../QSort.hs:(4,1)-(6,55) -_result :: [a] = _ +_result :: [t] = _ Stopped at ../QSort.hs:5:16-51 _result :: [Integer] = _ a :: Integer = 3 diff --git a/testsuite/tests/ghci.debugger/scripts/hist001.stdout b/testsuite/tests/ghci.debugger/scripts/hist001.stdout index 74cb483995..0b58b8fcb7 100644 --- a/testsuite/tests/ghci.debugger/scripts/hist001.stdout +++ b/testsuite/tests/ghci.debugger/scripts/hist001.stdout @@ -12,20 +12,20 @@ _result :: [a] = _ -9 : mymap (../Test3.hs:(1,1)-(2,31)) <end of history> Logged breakpoint at ../Test3.hs:(1,1)-(2,31) -_result :: [a] -_result :: [a] = _ +_result :: [t1] +_result :: [t1] = _ Logged breakpoint at ../Test3.hs:2:22-31 -_result :: [a] -f :: t -> a +_result :: [t1] +f :: t -> t1 xs :: [t] xs :: [t] = [] -f :: t -> a = _ -_result :: [a] = _ +f :: t -> t1 = _ +_result :: [t1] = _ *** Ignoring breakpoint _result = [] Logged breakpoint at ../Test3.hs:2:18-20 -_result :: a -f :: Integer -> a +_result :: t1 +f :: Integer -> t1 x :: Integer Logged breakpoint at ../Test3.hs:2:22-31 -_result :: [a] +_result :: [t1] |