Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
c639560d
Commit
c639560d
authored
Oct 31, 2014
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac #9739
parent
abfbdd1c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
testsuite/tests/typecheck/should_fail/T9739.hs
testsuite/tests/typecheck/should_fail/T9739.hs
+6
-0
testsuite/tests/typecheck/should_fail/T9739.stderr
testsuite/tests/typecheck/should_fail/T9739.stderr
+10
-0
testsuite/tests/typecheck/should_fail/all.T
testsuite/tests/typecheck/should_fail/all.T
+1
-0
No files found.
testsuite/tests/typecheck/should_fail/T9739.hs
0 → 100644
View file @
c639560d
module
T9739
where
class
Class2
a
=>
Class1
a
where
class3
::
(
Class2
a
)
=>
b
class
(
Class1
a
)
=>
Class2
a
where
testsuite/tests/typecheck/should_fail/T9739.stderr
0 → 100644
View file @
c639560d
T9739.hs:3:1:
Cycle in class declaration (via superclasses):
Class1 -> Class2 -> Class1
In the class declaration for ‘Class1’
T9739.hs:6:1:
Cycle in class declaration (via superclasses):
Class2 -> Class1 -> Class2
In the class declaration for ‘Class2’
testsuite/tests/typecheck/should_fail/all.T
View file @
c639560d
...
...
@@ -341,3 +341,4 @@ test('T9323', normal, compile_fail, [''])
test
('
T9415
',
normal
,
compile_fail
,
[''])
test
('
T9612
',
normal
,
compile_fail
,
[''])
test
('
T9634
',
normal
,
compile_fail
,
[''])
test
('
T9739
',
normal
,
compile_fail
,
[''])
Write
Preview
Markdown
is supported
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