#7164: Confusing "not a (visible) method" warning when method name clashes with
another definition
-----------------------------------------------+----------------------------
 Reporter:  joeyadams                          |          Owner:                
  
     Type:  bug                                |         Status:  new           
  
 Priority:  normal                             |      Component:  Compiler      
  
  Version:  7.6.1-rc1                          |       Keywords:                
  
       Os:  Unknown/Multiple                   |   Architecture:  
Unknown/Multiple
  Failure:  Incorrect warning at compile-time  |       Testcase:                
  
Blockedby:                                     |       Blocking:                
  
  Related:                                     |  
-----------------------------------------------+----------------------------

Comment(by simonpj@…):

 commit 2c6d11fa17ff5cab7d62e6dbea3fc9e501fce7f3
 {{{
 Author: Simon Peyton Jones <simo...@microsoft.com>
 Date:   Tue Aug 21 14:35:12 2012 +0100

     Re-jig the reporting of names bound multiple times

     Fixes Trac #7164

  compiler/basicTypes/RdrName.lhs |   21 ++++++++++-----------
  compiler/main/HscTypes.lhs      |    3 ++-
  compiler/rename/RnEnv.lhs       |    7 +++++--
  compiler/rename/RnNames.lhs     |    5 +++--
  4 files changed, 20 insertions(+), 16 deletions(-)
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to