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,248
Issues
4,248
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
395
Merge Requests
395
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
cead06ef
Commit
cead06ef
authored
Apr 22, 2012
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac
#6022
parent
48bafff1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
testsuite/tests/typecheck/should_fail/T6022.hs
testsuite/tests/typecheck/should_fail/T6022.hs
+3
-0
testsuite/tests/typecheck/should_fail/T6022.stderr
testsuite/tests/typecheck/should_fail/T6022.stderr
+6
-0
testsuite/tests/typecheck/should_fail/all.T
testsuite/tests/typecheck/should_fail/all.T
+1
-0
No files found.
testsuite/tests/typecheck/should_fail/T6022.hs
0 → 100644
View file @
cead06ef
module
T6022
where
f
x
=
x
==
head
testsuite/tests/typecheck/should_fail/T6022.stderr
0 → 100644
View file @
cead06ef
T6022.hs:3:9:
No instance for (Eq ([a] -> a)) arising from a use of `=='
Possible fix: add an instance declaration for (Eq ([a] -> a))
In the expression: x == head
In an equation for `f': f x = x == head
testsuite/tests/typecheck/should_fail/all.T
View file @
cead06ef
...
...
@@ -273,3 +273,4 @@ test('T5684', normal, compile_fail, [''])
test
('
T5858
',
normal
,
compile_fail
,
[''])
test
('
T5957
',
normal
,
compile_fail
,
[''])
test
('
T6001
',
normal
,
compile_fail
,
[''])
test
('
T6022
',
normal
,
compile_fail
,
[''])
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