#2436: Bad warning when exporting data families
------------------------------------------+---------------------------------
Reporter: rl | Owner: chak
Type: bug | Status: closed
Priority: low | Milestone: 7.2.1
Component: Compiler | Version: 6.9
Resolution: fixed | Keywords:
Testcase: rename/should_compile/T2436 | Blockedby:
Difficulty: Unknown | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
------------------------------------------+---------------------------------
Changes (by simonpj):
* status: new => closed
* testcase: => rename/should_compile/T2436
* resolution: => fixed
Comment:
Your word is my command. Fixed by
{{{
commit 9992bfb6bd3644384b9a26b810ef68f05fd60879
Author: Simon Peyton Jones <[email protected]>
Date: Fri Jun 10 19:54:34 2011 +0100
Kill bogus duplicate-export warnings (fix Trac #2436)
The general rule is now that we don't complain about
a duplicate export from a "...". See RnNames.dupExport_ok
>---------------------------------------------------------------
compiler/rename/RnNames.lhs | 55
++++++++++++++++++++++++++++++++----------
1 files changed, 42 insertions(+), 13 deletions(-)
}}}
and
{{{
commit ceb672554ef7e668eb92f703a3d21c6bd1e3b91e
Author: Simon Peyton Jones <[email protected]>
Date: Sat Jun 11 14:23:40 2011 +0100
Further improvents to duplicate-export warnings (Trac #2436)
>---------------------------------------------------------------
compiler/rename/RnNames.lhs | 31 ++++++++++++++++++++-----------
1 files changed, 20 insertions(+), 11 deletions(-)
}}}
test added.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2436#comment:12>
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