Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,322
Issues
4,322
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
368
Merge Requests
368
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
c0aae6f6
Commit
c0aae6f6
authored
May 13, 2015
by
Simon Peyton Jones
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac
#10248
parent
eb6ca851
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
testsuite/tests/ghci/scripts/T10248.script
testsuite/tests/ghci/scripts/T10248.script
+2
-0
testsuite/tests/ghci/scripts/T10248.stderr
testsuite/tests/ghci/scripts/T10248.stderr
+18
-0
testsuite/tests/ghci/scripts/all.T
testsuite/tests/ghci/scripts/all.T
+1
-0
No files found.
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
Markdown
is supported
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