#2584: Pretty printing of types with HsDocTy goes wrong
---------------------------------+------------------------------------------
Reporter: NeilMitchell | Owner: waern
Type: bug | Status: closed
Priority: high | Milestone: 6.10.2
Component: Compiler | Version: 6.9
Severity: major | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Changes (by waern):
* status: assigned => closed
* resolution: => fixed
Comment:
I don't want remove the pretty printing of {{{HsDocTy}}} since it is used
by the test suite, to test that parsing works correctly. So I've fixed the
pretty printing so that the comments are handled as if they were postfix
type operators. Your example now becomes:
{{{
([a] -> [b]) <document comment> -> [a] -> [b]
}}}
This is the patch (in HEAD):
{{{
Fri Jan 9 20:17:13 CET 2009 David Waern <[email protected]>
* Fix Trac #2584: Pretty printing of types with HsDocTy
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2584#comment:9>
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