Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
2e7d1fda
Commit
2e7d1fda
authored
May 30, 2013
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac
#7809
parent
4112b1f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
testsuite/tests/typecheck/should_fail/T7809.hs
testsuite/tests/typecheck/should_fail/T7809.hs
+9
-0
testsuite/tests/typecheck/should_fail/T7809.stderr
testsuite/tests/typecheck/should_fail/T7809.stderr
+5
-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/T7809.hs
0 → 100644
View file @
2e7d1fda
{-# LANGUAGE RankNTypes, TypeFamilies, LiberalTypeSynonyms #-}
module
T7809
where
type
PolyId
=
(
forall
a
.
a
->
a
)
type
family
F
a
foo
::
F
PolyId
foo
=
undefined
\ No newline at end of file
testsuite/tests/typecheck/should_fail/T7809.stderr
0 → 100644
View file @
2e7d1fda
T7809.hs:8:8:
Illegal polymorphic or qualified type: PolyId
Perhaps you intended to use -XImpredicativeTypes
In the type signature for ‛foo’: foo :: F PolyId
testsuite/tests/typecheck/should_fail/all.T
View file @
2e7d1fda
...
...
@@ -309,3 +309,4 @@ test('T7851', normal, compile_fail, [''])
test
('
T7856
',
normal
,
compile_fail
,
[''])
test
('
T7869
',
normal
,
compile_fail
,
[''])
test
('
T7892
',
normal
,
compile_fail
,
[''])
test
('
T7809
',
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