[commit: ghc] master: Missing stderr for T12531. (21c2ebf)

git at git.haskell.org git at git.haskell.org
Tue Aug 30 09:44:02 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/21c2ebf2504125611eec0d24ab3ed60cd9e475be/ghc

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

commit 21c2ebf2504125611eec0d24ab3ed60cd9e475be
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Tue Aug 30 02:43:38 2016 -0700

    Missing stderr for T12531.
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>


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

21c2ebf2504125611eec0d24ab3ed60cd9e475be
 testsuite/tests/partial-sigs/should_compile/T12531.stderr | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/testsuite/tests/partial-sigs/should_compile/T12531.stderr b/testsuite/tests/partial-sigs/should_compile/T12531.stderr
new file mode 100644
index 0000000..ddd6824
--- /dev/null
+++ b/testsuite/tests/partial-sigs/should_compile/T12531.stderr
@@ -0,0 +1,9 @@
+
+T12531.hs:6:11: warning: [-Wtyped-holes (in -Wdefault)]
+    • Found hole: _ :: Int#
+    • In the first argument of ‘(+#)’, namely ‘_’
+      In the first argument of ‘I#’, namely ‘(_ +# x)’
+      In the expression: I# (_ +# x)
+    • Relevant bindings include
+        x :: Int# (bound at T12531.hs:6:3)
+        f :: Int# -> Int (bound at T12531.hs:6:1)



More information about the ghc-commits mailing list