#3057: Standalone deriving of Functor does not work for HsDoc
----------------------------------------------+-----------------------------
Reporter: waern | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.11
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: deriving/should_compile/T3057 | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
----------------------------------------------+-----------------------------
Changes (by simonpj):
* testcase: => deriving/should_compile/T3057
* difficulty: => Unknown
* status: new => closed
* resolution: => fixed
Comment:
Good bug thanks. Fixed by
{{{
Tue Mar 3 09:06:12 PST 2009 [email protected]
* Fix Trac #3057 in deriving Functor
Ignore-this: 7d7783868e4684930f75c3b35c18c586
The universal type variables of a data constructor are not necessarily
identical to those of its parent type constructor, especially if the
data type is imported.
While I was at it, I did a significant refactoring to make all this
traversal of types more comprehensible, by adding the data type
FFoldType.
}}}
I added a test too.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3057#comment:1>
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