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
1055776e
Commit
1055776e
authored
Jul 02, 2009
by
simonpj
Browse files
NonLinearSigErr is actually OK
parent
376902ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/indexed-types/should_fail/NonLinearSigErr.hs
View file @
1055776e
{-# LANGUAGE TypeFamilies #-}
-- This is actually perfectly ok!
module
NonLinearSigErr
where
type
family
E
a
b
...
...
testsuite/tests/ghc-regress/indexed-types/should_fail/NonLinearSigErr.stderr
View file @
1055776e
NonLinearSigErr.hs:6:0:
Repeat variable occurrence may not have a kind signature: `a'
testsuite/tests/ghc-regress/indexed-types/should_fail/all.T
View file @
1055776e
...
...
@@ -28,7 +28,7 @@ test('TyFamArity2', normal, compile_fail, [''])
test
('
TyFamUndec
',
normal
,
compile_fail
,
[''])
test
('
NotRelaxedExamples
',
normal
,
compile_fail
,
[''])
test
('
NonLinearSigErr
',
normal
,
compile
_fail
,
[''])
test
('
NonLinearSigErr
',
normal
,
compile
,
[''])
test
('
GADTwrong1
',
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