[GHC] #8945: GHC produces grouped declarations in a weird order
GHC
ghc-devs at haskell.org
Tue Apr 1 07:41:57 UTC 2014
#8945: GHC produces grouped declarations in a weird order
-------------------------------------+------------------------------------
Reporter: Fuuzetsu | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHC API | Version: 7.9
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by simonpj):
Spot on. GHC's front end makes no particular effort to maintain the
original declarations in the order they were given. While it was just a
front end for the compiler that was fine, but now it's being used for
Haddock and other back ends I can see that being more careful about this
would be good.
I'd be happy to accept a patch. (It's not hard, as you observe.)
There may be other places in the parser where this kind of things happens,
I'm not sure.
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8945#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list