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
91a48c54
Commit
91a48c54
authored
Aug 08, 2014
by
eir@cis.upenn.edu
Browse files
Testsuite wibbles around
#9200
parent
1c66b3d5
Changes
5
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghci/scripts/T7939.hs
View file @
91a48c54
...
...
@@ -22,6 +22,6 @@ type family K a where
K
'
[]
=
Nothing
K
(
h
'
:
t
)
=
Just
h
type
family
L
(
a
::
k
)
b
::
k
where
type
family
L
(
a
::
k
)
(
b
::
*
)
::
k
where
L
Int
Int
=
Bool
L
Maybe
Bool
=
IO
\ No newline at end of file
L
Maybe
Bool
=
IO
testsuite/tests/indexed-types/should_fail/ClosedFam3.hs-boot
View file @
91a48c54
...
...
@@ -9,5 +9,5 @@ type family Bar a where
Bar
Int
=
Bool
Bar
Double
=
Char
type
family
Baz
(
a
::
k
)
where
Baz
Int
=
Bool
\ No newline at end of file
type
family
Baz
(
a
::
k
)
::
*
where
Baz
Int
=
Bool
testsuite/tests/polykinds/T7053.hs
View file @
91a48c54
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE PolyKinds
, GADTs
#-}
module
T7053
where
...
...
testsuite/tests/polykinds/T7053.stderr
deleted
100644 → 0
View file @
1c66b3d5
T7053.hs:6:52:
Kind occurs check
The first argument of ‘a’ should have kind ‘k0’,
but ‘b’ has kind ‘k0 -> k1’
In the type ‘TypeRep (a b)’
In the definition of data constructor ‘TyApp’
In the data declaration for ‘TypeRep’
testsuite/tests/polykinds/all.T
View file @
91a48c54
...
...
@@ -54,7 +54,7 @@ test('T6137', normal, compile,[''])
test
('
T6093
',
normal
,
compile
,[''])
test
('
T6049
',
normal
,
compile
,[''])
test
('
T6129
',
normal
,
compile_fail
,[''])
test
('
T7053
',
normal
,
compile
_fail
,[''])
test
('
T7053
',
normal
,
compile
,[''])
test
('
T7053a
',
normal
,
compile
,[''])
test
('
T7020
',
normal
,
compile
,[''])
test
('
T7022
',
normal
,
run_command
,
['
$MAKE -s --no-print-directory T7022
'])
...
...
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