summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2015-10-12 21:35:25 -0500
committerAustin Seipp <austin@well-typed.com>2015-10-12 21:36:44 -0500
commit330ba6ad361b696492676345da132b8f98b26370 (patch)
treea4ee9140e3bd91831f26f486a34817500f3a0649
parentdcc342870b4d8a739ccbed3ae26e84dcc3579914 (diff)
downloadhaskell-330ba6ad361b696492676345da132b8f98b26370.tar.gz
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@well-typed.com>
-rw-r--r--testsuite/tests/typecheck/should_compile/T10935.stderr7
1 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/tests/typecheck/should_compile/T10935.stderr b/testsuite/tests/typecheck/should_compile/T10935.stderr
index 0519ecba6e..2279cfc90b 100644
--- a/testsuite/tests/typecheck/should_compile/T10935.stderr
+++ b/testsuite/tests/typecheck/should_compile/T10935.stderr
@@ -1 +1,6 @@
- \ No newline at end of file
+
+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)