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,318
Issues
4,318
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
386
Merge Requests
386
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
dde0085a
Commit
dde0085a
authored
Apr 04, 2012
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac
#5957
parent
d6ff372f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
testsuite/tests/typecheck/should_fail/T5957.hs
testsuite/tests/typecheck/should_fail/T5957.hs
+4
-0
testsuite/tests/typecheck/should_fail/T5957.stderr
testsuite/tests/typecheck/should_fail/T5957.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/T5957.hs
0 → 100644
View file @
dde0085a
module
T5957
where
flex
::
Int
->
Show
a
=>
a
->
String
flex
i
a
=
show
a
++
show
i
testsuite/tests/typecheck/should_fail/T5957.stderr
0 → 100644
View file @
dde0085a
T5957.hs:3:9:
Illegal polymorphic or qualified type: Show a => a -> String
Perhaps you intended to use -XRankNTypes or -XRank2Types
In the type signature for `flex':
flex :: Int -> Show a => a -> String
testsuite/tests/typecheck/should_fail/all.T
View file @
dde0085a
...
@@ -271,3 +271,4 @@ test('T5573b', normal, compile_fail, [''])
...
@@ -271,3 +271,4 @@ test('T5573b', normal, compile_fail, [''])
test
('
T5689
',
normal
,
compile_fail
,
[''])
test
('
T5689
',
normal
,
compile_fail
,
[''])
test
('
T5684
',
normal
,
compile_fail
,
[''])
test
('
T5684
',
normal
,
compile_fail
,
[''])
test
('
T5858
',
normal
,
compile_fail
,
[''])
test
('
T5858
',
normal
,
compile_fail
,
[''])
test
('
T5957
',
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