summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T2182ghci.stderr
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2015-06-26 16:00:19 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2015-06-26 17:53:33 +0100
commitceb3c8448dfba23aa98a710f846304158c1c584b (patch)
tree18f397939bdf200877cc3189ddd15dfb3d30e9a8 /testsuite/tests/ghci/scripts/T2182ghci.stderr
parenta64a26f0a1a864522937caaf68687baf1a5f9bcb (diff)
downloadhaskell-ceb3c8448dfba23aa98a710f846304158c1c584b.tar.gz
Improve error message for Typeable k (T k)
GHC can't yest build a TypeRep for a type involving kind variables. (We await kinds = types for that.) But the error message was terrible, as fixing #10524 reminded me. This improves it a lot.
Diffstat (limited to 'testsuite/tests/ghci/scripts/T2182ghci.stderr')
-rw-r--r--testsuite/tests/ghci/scripts/T2182ghci.stderr55
1 files changed, 25 insertions, 30 deletions
diff --git a/testsuite/tests/ghci/scripts/T2182ghci.stderr b/testsuite/tests/ghci/scripts/T2182ghci.stderr
index 6a6eebded2..470e72945d 100644
--- a/testsuite/tests/ghci/scripts/T2182ghci.stderr
+++ b/testsuite/tests/ghci/scripts/T2182ghci.stderr
@@ -1,30 +1,25 @@
-
-<interactive>:3:1:
- No instance for (Show (t0 -> t0))
- (maybe you haven't applied a function to enough arguments?)
- arising from a use of ‘print’
- In a stmt of an interactive GHCi command: print it
-
-<interactive>:11:1:
- No instance for (Show (t0 -> t0))
- (maybe you haven't applied a function to enough arguments?)
- arising from a use of ‘print’
- In a stmt of an interactive GHCi command: print it
-
-<interactive>:20:1:
- No instance for (Show (t0 -> t0))
- (maybe you haven't applied a function to enough arguments?)
- arising from a use of ‘print’
- In a stmt of an interactive GHCi command: print it
-
-<interactive>:29:1:
- No instance for (Show (t0 -> t0))
- (maybe you haven't applied a function to enough arguments?)
- arising from a use of ‘print’
- In a stmt of an interactive GHCi command: print it
-
-<interactive>:50:1:
- No instance for (Show (t0 -> t0))
- (maybe you haven't applied a function to enough arguments?)
- arising from a use of ‘print’
- In a stmt of an interactive GHCi command: print it
+
+<interactive>:3:1: error:
+ No instance for (Show (t0 -> t0)) arising from a use of ‘print’
+ (maybe you haven't applied a function to enough arguments?)
+ In a stmt of an interactive GHCi command: print it
+
+<interactive>:11:1: error:
+ No instance for (Show (t0 -> t0)) arising from a use of ‘print’
+ (maybe you haven't applied a function to enough arguments?)
+ In a stmt of an interactive GHCi command: print it
+
+<interactive>:20:1: error:
+ No instance for (Show (t0 -> t0)) arising from a use of ‘print’
+ (maybe you haven't applied a function to enough arguments?)
+ In a stmt of an interactive GHCi command: print it
+
+<interactive>:29:1: error:
+ No instance for (Show (t0 -> t0)) arising from a use of ‘print’
+ (maybe you haven't applied a function to enough arguments?)
+ In a stmt of an interactive GHCi command: print it
+
+<interactive>:50:1: error:
+ No instance for (Show (t0 -> t0)) arising from a use of ‘print’
+ (maybe you haven't applied a function to enough arguments?)
+ In a stmt of an interactive GHCi command: print it