[commit: ghc] master: testsuite: attempt fixing T10935 output (330ba6a)
git at git.haskell.org
git at git.haskell.org
Tue Oct 13 02:34:27 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/330ba6ad361b696492676345da132b8f98b26370/ghc
>---------------------------------------------------------------
commit 330ba6ad361b696492676345da132b8f98b26370
Author: Austin Seipp <austin at well-typed.com>
Date: Mon Oct 12 21:35:25 2015 -0500
testsuite: attempt fixing T10935 output
This fallout was caused by f8fbf385b879fe17740 (see #10935), and looks easy
enough, but admittedly I just tried patching the output, so we're doing it
live.
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
330ba6ad361b696492676345da132b8f98b26370
testsuite/tests/typecheck/should_compile/T10935.stderr | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/testsuite/tests/typecheck/should_compile/T10935.stderr b/testsuite/tests/typecheck/should_compile/T10935.stderr
index 0519ecb..2279cfc 100644
--- a/testsuite/tests/typecheck/should_compile/T10935.stderr
+++ b/testsuite/tests/typecheck/should_compile/T10935.stderr
@@ -1 +1,6 @@
+T10935.hs:5:11: warning:
+ The Monomorphism Restriction applies to the binding for ‘y’
+ Consider giving a type signature for ‘y’
+ In the expression: let y = x + 1 in (y, y)
+ In an equation for ‘f’: f x = let y = x + 1 in (y, y)
More information about the ghc-commits
mailing list