Commit c0aae6f6 authored by Simon Peyton Jones's avatar Simon Peyton Jones

Test Trac #10248

parent eb6ca851
:set -fdefer-type-errors
Just <$> _
<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)
......@@ -216,3 +216,4 @@ test('T10408A', normal, run_command,
['$MAKE -s --no-print-directory T10408A'])
test('T10408B', normal, run_command,
['$MAKE -s --no-print-directory T10408B'])
test('T10248', normal, ghci_script, ['T10248.script'])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment