Skip to content
GitLab
Menu
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
86403bf7
Commit
86403bf7
authored
Apr 24, 2012
by
Simon Peyton Jones
Browse files
Test Trac
#6039
parent
e4c802d0
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/polykinds/T6039.hs
0 → 100644
View file @
86403bf7
{-# LANGUAGE PolyKinds, KindSignatures #-}
module
Foo
where
data
T
(
a
::
j
k
)
=
MkT
testsuite/tests/polykinds/T6039.stderr
0 → 100644
View file @
86403bf7
T6039.hs:5:14:
Kind variable `j' cannot appear in a function position
In the kind `j k'
In the data declaration for `T'
testsuite/tests/polykinds/all.T
View file @
86403bf7
...
...
@@ -37,3 +37,4 @@ test('T5948', normal, compile, [''])
test
('
T6020
',
normal
,
compile
,
[''])
test
('
T6025
',
normal
,
run_command
,
['
$MAKE -s --no-print-directory T6025
'])
test
('
T6002
',
normal
,
compile
,
[''])
test
('
T6039
',
normal
,
compile_fail
,
[''])
Write
Preview
Supports
Markdown
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