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
b52f3a72
Commit
b52f3a72
authored
Aug 30, 2005
by
simonpj
Browse files
[project @ 2005-08-30 12:06:36 by simonpj]
Another type-formation test (cf Sourceforge 1276115)
parent
e817d829
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_fail/all.T
View file @
b52f3a72
...
...
@@ -132,3 +132,4 @@ test('tcfail144', normal, compile_fail, [''])
test
('
tcfail145
',
normal
,
compile_fail
,
[''])
test
('
tcfail146
',
normal
,
compile_fail
,
[''])
test
('
tcfail147
',
normal
,
compile_fail
,
[''])
test
('
tcfail148
',
normal
,
compile_fail
,
[''])
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail148.hs
0 → 100644
View file @
b52f3a72
-- This one caused a panic in GHC 6.4
module
Foo1
where
data
List
elem
=
Cons
elem
List
|
Nil
t1
::
List
t1
=
Cons
1
Nil
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail148.stderr
0 → 100644
View file @
b52f3a72
tcfail148.hs:5:27:
`List' is not applied to enough type arguments
Expected kind `?', but `List' has kind `* -> *'
In the data type declaration for `List'
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