#4302: Impossible when deriving empty data declaration
--------------------------------------------+-------------------------------
Reporter: mitar | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 7.2.1
Component: Compiler | Version: 6.12.3
Resolution: fixed | Keywords:
Testcase: deriving/should_compile/T4302 | Blockedby:
Difficulty: | Os: Linux
Blocking: | Architecture: x86_64 (amd64)
Failure: None/Unknown |
--------------------------------------------+-------------------------------
Changes (by simonpj):
* status: new => closed
* testcase: => deriving/should_compile/T4302
* resolution: => fixed
Comment:
Excellent point. This is really the same bug as #4220, but needs a more
systematic fix. Done with
{{{
Mon Sep 13 18:03:55 BST 2010 [email protected]
* Fix Trac #4302, plus a little refactoring
M ./compiler/hsSyn/HsUtils.lhs -13 +1
M ./compiler/typecheck/TcDeriv.lhs -12 +19
M ./compiler/typecheck/TcGenDeriv.lhs -28 +48
}}}
And I added another test
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4302#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs