summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/Defer02.stderr
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2013-10-02 14:01:02 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2013-10-02 14:01:02 +0100
commit067f78b276f3f3d2d50a2d3134f211ccd099f4a6 (patch)
treebb68ee378c4cd5745302dbf739430b36d71c5891 /testsuite/tests/ghci/scripts/Defer02.stderr
parent6b5696230f426f531eb182cd189c0b206afe9296 (diff)
downloadhaskell-067f78b276f3f3d2d50a2d3134f211ccd099f4a6.tar.gz
Error message wibbles following ambiguity check changes
Diffstat (limited to 'testsuite/tests/ghci/scripts/Defer02.stderr')
-rw-r--r--testsuite/tests/ghci/scripts/Defer02.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/Defer02.stderr b/testsuite/tests/ghci/scripts/Defer02.stderr
index 5ff199cf5a..2d4b848529 100644
--- a/testsuite/tests/ghci/scripts/Defer02.stderr
+++ b/testsuite/tests/ghci/scripts/Defer02.stderr
@@ -83,11 +83,13 @@
Inaccessible code in
the type signature for k :: Int ~ Bool => Int -> Bool
In the ambiguity check for: Int ~ Bool => Int -> Bool
+ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes
In the type signature for ‛k’: k :: Int ~ Bool => Int -> Bool
../../typecheck/should_run/Defer01.hs:45:6: Warning:
Couldn't match expected type ‛Bool’ with actual type ‛Int’
In the ambiguity check for: Int ~ Bool => Int -> Bool
+ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes
In the type signature for ‛k’: k :: Int ~ Bool => Int -> Bool
../../typecheck/should_run/Defer01.hs:45:6: Warning: