diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2015-05-13 17:11:46 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2015-05-13 17:11:46 +0100 |
commit | c0aae6f699cbd222d826d0b8d78d6cb3f682079e (patch) | |
tree | 78776297beffd4daa13e5d25dd7e1d07883ba696 /testsuite/tests/ghci/scripts/T10248.stderr | |
parent | eb6ca851f553262efe0824b8dcbe64952de4963d (diff) | |
download | haskell-c0aae6f699cbd222d826d0b8d78d6cb3f682079e.tar.gz |
Test Trac #10248
Diffstat (limited to 'testsuite/tests/ghci/scripts/T10248.stderr')
-rw-r--r-- | testsuite/tests/ghci/scripts/T10248.stderr | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T10248.stderr b/testsuite/tests/ghci/scripts/T10248.stderr new file mode 100644 index 0000000000..1245b994fd --- /dev/null +++ b/testsuite/tests/ghci/scripts/T10248.stderr @@ -0,0 +1,18 @@ + +<interactive>:3:10: warning: + Found hole ‘_’ with type: IO () + In the second argument of ‘(<$>)’, namely ‘_’ + In the first argument of ‘ghciStepIO :: + IO a_alT -> IO a_alT’, namely + ‘Just <$> _’ + In a stmt of an interactive GHCi command: + it <- ghciStepIO :: IO a_alT -> IO a_alT (Just <$> _) +*** Exception: <interactive>:3:10: error: + Found hole ‘_’ with type: IO () + In the second argument of ‘(<$>)’, namely ‘_’ + In the first argument of ‘ghciStepIO :: + IO a_alT -> IO a_alT’, namely + ‘Just <$> _’ + In a stmt of an interactive GHCi command: + it <- ghciStepIO :: IO a_alT -> IO a_alT (Just <$> _) +(deferred type error) |