Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
7b10d013
Commit
7b10d013
authored
Jun 10, 2014
by
eir@cis.upenn.edu
Browse files
Test
#9097
.
parent
e79e2c39
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/indexed-types/should_fail/T9097.hs
0 → 100644
View file @
7b10d013
{-# LANGUAGE TypeFamilies, DataKinds #-}
module
T9097
where
import
GHC.Exts
type
family
Foo
x
where
Foo
True
=
False
Foo
False
=
False
Foo
Any
=
True
testsuite/tests/indexed-types/should_fail/T9097.stderr
0 → 100644
View file @
7b10d013
T9097.hs:10:3:
Illegal type synonym family application in instance: Any
In the equations for closed type family ‘Foo’
In the type family declaration for ‘Foo’
testsuite/tests/indexed-types/should_fail/all.T
View file @
7b10d013
...
...
@@ -122,4 +122,4 @@ test('T8518', normal, compile_fail, [''])
test
('
T9036
',
normal
,
compile_fail
,
[''])
test
('
T9167
',
normal
,
compile_fail
,
[''])
test
('
T9171
',
normal
,
compile_fail
,
[''])
test
('
T9097
',
normal
,
compile_fail
,
[''])
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