Skip to content
GitLab
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
4ef6b43d
Commit
4ef6b43d
authored
Sep 07, 2006
by
simonpj
Browse files
Tickle a bug in impredicative polymorphism
parent
9db0189a
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_compile/all.T
View file @
4ef6b43d
...
...
@@ -217,6 +217,7 @@ test('tc204', normal, compile, [''])
test
('
tc205
',
normal
,
compile
,
[''])
test
('
tc206
',
normal
,
compile
,
[''])
test
('
tc207
',
normal
,
compile
,
[''])
test
('
tc208
',
normal
,
compile
,
[''])
# Omitting temporarily
# test('syn-perf', normal, compile, ['-fcontext-stack=30'])
...
...
testsuite/tests/ghc-regress/typecheck/should_compile/tc208.hs
0 → 100644
View file @
4ef6b43d
{-# OPTIONS -fglasgow-exts -fimplicit-params #-}
-- This program failed to typecheck in an early version of
-- GHC with impredicative polymorphism, but it was fixed by
-- doing pre-subsumption in the subsumption check.
-- Trac bug #821
module
ShouldCompile
where
type
PPDoc
=
(
?
env
::
Int
)
=>
Char
f
::
Char
->
PPDoc
f
=
succ
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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