[commit: ghc] master: Add missing stderr file for Trac #15898 (32e7738)

git at git.haskell.org git at git.haskell.org
Fri Nov 16 11:39:57 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/32e7738bb1a1df5133fd775312e7fb5ae6823099/ghc

>---------------------------------------------------------------

commit 32e7738bb1a1df5133fd775312e7fb5ae6823099
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Nov 16 11:39:09 2018 +0000

    Add missing stderr file for Trac #15898


>---------------------------------------------------------------

32e7738bb1a1df5133fd775312e7fb5ae6823099
 testsuite/tests/ghci/scripts/T15898.stderr | 52 ++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/testsuite/tests/ghci/scripts/T15898.stderr b/testsuite/tests/ghci/scripts/T15898.stderr
new file mode 100644
index 0000000..11ca6cc
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T15898.stderr
@@ -0,0 +1,52 @@
+
+<interactive>:3:1: error:
+    • Couldn't match kind ‘()’ with ‘*’
+      When matching types
+        a0 :: *
+        '() :: ()
+    • In the expression: undefined :: '()
+      In an equation for ‘it’: it = undefined :: '()
+
+<interactive>:3:14: error:
+    • Expected a type, but ‘'()’ has kind ‘()’
+    • In an expression type signature: '()
+      In the expression: undefined :: '()
+      In an equation for ‘it’: it = undefined :: '()
+
+<interactive>:4:14: error:
+    • Expected kind ‘* -> *’, but ‘Proxy '()’ has kind ‘*’
+    • In an expression type signature: Proxy '() Int
+      In the expression: undefined :: Proxy '() Int
+      In an equation for ‘it’: it = undefined :: Proxy '() Int
+
+<interactive>:5:1: error:
+    • Couldn't match kind ‘[*]’ with ‘*’
+      When matching types
+        a0 :: *
+        '[(), ()] :: [*]
+    • In the expression: undefined :: [(), ()]
+      In an equation for ‘it’: it = undefined :: [(), ()]
+
+<interactive>:5:14: error:
+    • Expected a type, but ‘[(), ()]’ has kind ‘[*]’
+    • In an expression type signature: [(), ()]
+      In the expression: undefined :: [(), ()]
+      In an equation for ‘it’: it = undefined :: [(), ()]
+
+<interactive>:6:1: error:
+    • Couldn't match kind ‘([k0], [k1])’ with ‘*’
+      When matching types
+        a0 :: *
+        '( '[], '[]) :: ([k0], [k1])
+    • In the expression: undefined :: '( '[], '[])
+      In an equation for ‘it’: it = undefined :: '( '[], '[])
+    • Relevant bindings include
+        it :: '( '[], '[]) (bound at <interactive>:6:1)
+
+<interactive>:6:14: error:
+    • Expected a type, but ‘'( '[], '[])’ has kind ‘([k0], [k1])’
+    • In an expression type signature: '( '[], '[])
+      In the expression: undefined :: '( '[], '[])
+      In an equation for ‘it’: it = undefined :: '( '[], '[])
+    • Relevant bindings include
+        it :: '( '[], '[]) (bound at <interactive>:6:1)



More information about the ghc-commits mailing list