#5434: <no location info> for shadowing warnings in TH-generated code
---------------------------------+------------------------------------------
Reporter: byorgey | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.2.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect warning at
compile-time
---------------------------------+------------------------------------------
Comment(by simonpj@…):
commit 68bcb1399c8cd17f6db641a68fd4d20fff08c01a
{{{
Author: Simon Peyton Jones <[email protected]>
Date: Fri Sep 2 09:11:24 2011 +0100
Make Convert.thRdrName give a decent source locations (fixes Trac
#5434)
thRdrName is used to construct *binders*, and some of them are
Exact RdrNames, so we need to give them a decent source location.
compiler/hsSyn/Convert.lhs | 26 ++++++++++++++++++--------
1 files changed, 18 insertions(+), 8 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5434#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