[GHC] #5281: Bad compiler warning

GHC cvs-ghc at haskell.org
Wed Jul 27 16:06:45 CEST 2011


#5281: Bad compiler warning
---------------------------------+------------------------------------------
    Reporter:  augustss          |        Owner:  simonpj     
        Type:  bug               |       Status:  new         
    Priority:  high              |    Milestone:  7.2.1       
   Component:  Compiler          |      Version:  7.1         
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonpj@…):

 commit 3fdd294af643a86162e544f442b0e36c57e1db36
 {{{
 Author: Simon Peyton Jones <simonpj at microsoft.com>
 Date:   Wed Jul 27 10:39:07 2011 +0100

     Give a more helpful src location (Trac #5281)

     We weren't giving a useful location for the
     *implicit* import of Prelude.  Lennart rightly
     complained. This fixes it.

  compiler/main/HeaderInfo.hs       |   14 +++++++-------
  compiler/main/HscMain.lhs         |    9 ++++++---
  compiler/rename/RnNames.lhs       |   16 +++++++++-------
  compiler/typecheck/TcRnDriver.lhs |   21 +++++++++++++--------
  4 files changed, 35 insertions(+), 25 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5281#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list