Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
c0aae6f6
Commit
c0aae6f6
authored
May 13, 2015
by
Simon Peyton Jones
Browse files
Test Trac
#10248
parent
eb6ca851
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghci/scripts/T10248.script
0 → 100644
View file @
c0aae6f6
:set -fdefer-type-errors
Just <$> _
testsuite/tests/ghci/scripts/T10248.stderr
0 → 100644
View file @
c0aae6f6
<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)
testsuite/tests/ghci/scripts/all.T
View file @
c0aae6f6
...
...
@@ -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
'])
Ben Gamari
🐢
@bgamari
mentioned in commit
3cf8ecdc
·
May 14, 2015
mentioned in commit
3cf8ecdc
mentioned in commit 3cf8ecdc70cb295a2b9606080a1c7b5fa8eb16f4
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment