Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,251
Issues
4,251
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
391
Merge Requests
391
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
8b9fffbf
Commit
8b9fffbf
authored
Jul 23, 2011
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac
#5287
parent
3cd7b401
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
testsuite/tests/deriving/should_fail/T5287.hs
testsuite/tests/deriving/should_fail/T5287.hs
+8
-0
testsuite/tests/deriving/should_fail/T5287.stderr
testsuite/tests/deriving/should_fail/T5287.stderr
+11
-0
testsuite/tests/deriving/should_fail/all.T
testsuite/tests/deriving/should_fail/all.T
+1
-0
No files found.
testsuite/tests/deriving/should_fail/T5287.hs
0 → 100644
View file @
8b9fffbf
{-# LANGUAGE MultiParamTypeClasses, UndecidableInstances #-}
module
Bug
where
class
A
a
oops
data
D
d
=
D
d
instance
A
a
oops
=>
Read
(
D
a
)
data
E
e
=
E
(
D
e
)
deriving
Read
testsuite/tests/deriving/should_fail/T5287.stderr
0 → 100644
View file @
8b9fffbf
ghc-stage2.exe: panic! (the 'impossible' happened)
(GHC version 7.3.20110721 for i386-unknown-mingw32):
solveDerivEqns: probable loop
(T5287.hs:6:29-32 main:Bug.$fReadE{v rhW} [e{tv aaR} [tv]] base:GHC.Read.Read{tc 2d} [main:Bug.E{tc raM}
e{tv aaR} [tv]] = [base:GHC.Read.Read{tc 2d}
(main:Bug.D{tc raO}
e{tv aaR} [tv])])
[[main:Bug.A{tc raQ} e{tv aaR} [tv] oops{tv alO} [tcs]]]
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
testsuite/tests/deriving/should_fail/all.T
View file @
8b9fffbf
...
...
@@ -32,4 +32,5 @@ test('drvfail-foldable-traversable1', normal, compile_fail,
test
('
T3833
',
normal
,
compile_fail
,
[''])
test
('
T3834
',
normal
,
compile_fail
,
[''])
test
('
T4528
',
normal
,
compile_fail
,
[''])
test
('
T5287
',
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