#5125: SpecConstr messages should be reworded, and not be shown at standard
verbosity level
---------------------------+------------------------------------------------
  Reporter:  maltem        |          Owner:  simonpj         
      Type:  bug           |         Status:  closed          
  Priority:  high          |      Milestone:  7.2.1           
 Component:  Compiler      |        Version:  7.0.3           
Resolution:  fixed         |       Keywords:                  
  Testcase:                |      Blockedby:                  
Difficulty:                |             Os:  Unknown/Multiple
  Blocking:                |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------
Changes (by simonpj):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 OK I've suppressed it unless
  * You build the compile with -DDEBUG, or
  * You use `-dppr-debug`

 {{{
 commit 3664c198bbf23acce9820104c06878aa78a32a39
 Author: Simon Peyton Jones <[email protected]>
 Date:   Thu May 26 17:21:51 2011 +0100

     Suppress the alarming SpecConstr message for normal users (Trac #5125)

     This is the offending message:
       SpecConstr
           Function `$wks2{v s2dJ} [lid]'
             has one call pattern, but the limit is 0
           Use -fspec-constr-count=n to set the bound
           Use -dppr-debug to see specialisations

     The message isn't very good, and is for experts only. So now it
     comes out only
         if you build with -DDEBUG
         or you specify -dppr-debug at runtime

  compiler/specialise/SpecConstr.lhs |    6 ++++--
  1 files changed, 4 insertions(+), 2 deletions(-)
 }}}

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