#5509: quotes pretty-printer not working as comments specify
---------------------------------+------------------------------------------
    Reporter:  mgsloan1          |        Owner:                                
   
        Type:  bug               |       Status:  new                           
   
    Priority:  normal            |    Milestone:                                
   
   Component:  Compiler          |      Version:  7.2.1                         
   
    Keywords:  prettyprint       |     Testcase:                                
   
   Blockedby:                    |   Difficulty:                                
   
          Os:  Unknown/Multiple  |     Blocking:                                
   
Architecture:  Unknown/Multiple  |      Failure:  Incorrect warning at 
compile-time
---------------------------------+------------------------------------------

Comment(by simonpj@…):

 commit ba60fc61ba5bbac8d0bbeb719fe26daa4058e1c5
 {{{
 Author: Simon Peyton Jones <[email protected]>
 Date:   Thu Sep 29 09:45:42 2011 +0100

     Make Outputable.quotes do what the comments say

     Outputable.quotes claimed to drop the quotes if the enclosed thing has
     a trailing single quote; but its implementation checked for
     a *leading* quote.

     Fixes Trac #5509

  compiler/utils/Outputable.lhs |    9 +++++----
  1 files changed, 5 insertions(+), 4 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5509#comment:3>
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

Reply via email to