Re: [GHC] #7349: -fth is deprecated without warning

2012-11-29 Thread GHC
#7349: -fth is deprecated without warning
---+
  Reporter:  guest |  Owner:  simonpj 
  Type:  bug   | Status:  closed  
  Priority:  normal|  Milestone:  
 Component:  Compiler  |Version:  7.6.1   
Resolution:  fixed |   Keywords:  
Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  | Difficulty:  Unknown 
  Testcase:|  Blockedby:  
  Blocking:|Related:  
---+
Changes (by igloo):

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


Comment:

 merged as e3667551d764232faff0e5280a1de3c1349e7c4c

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

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


Re: [GHC] #7349: -fth is deprecated without warning

2012-10-31 Thread GHC
#7349: -fth is deprecated without warning
-+--
Reporter:  guest |   Owner:  simonpj 
Type:  bug   |  Status:  merge   
Priority:  normal|   Milestone:  
   Component:  Compiler  | Version:  7.6.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by simonpj):

  * status:  patch => merge


-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

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


Re: [GHC] #7349: -fth is deprecated without warning

2012-10-31 Thread GHC
#7349: -fth is deprecated without warning
-+--
Reporter:  guest |   Owner:  simonpj 
Type:  bug   |  Status:  patch   
Priority:  normal|   Milestone:  
   Component:  Compiler  | Version:  7.6.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--

Comment(by simonpj@…):

 commit f8c23ff396eb3552b74d8045db28aa96ab519596
 {{{
 Author: Simon Peyton Jones 
 Date:   Mon Oct 29 23:19:32 2012 +

 Fix bug with reporting deprecated use of flag (Trac #7349)

  compiler/main/DynFlags.hs |7 ---
  1 files changed, 4 insertions(+), 3 deletions(-)
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

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


Re: [GHC] #7349: -fth is deprecated without warning

2012-10-30 Thread GHC
#7349: -fth is deprecated without warning
-+--
Reporter:  guest |   Owner:  simonpj 
Type:  bug   |  Status:  patch   
Priority:  normal|   Milestone:  
   Component:  Compiler  | Version:  7.6.1   
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by simonpj):

  * owner:  => simonpj
  * difficulty:  => Unknown


Comment:

 Thanks; correct fix.  I'll push shortly

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

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


Re: [GHC] #7349: -fth is deprecated without warning

2012-10-24 Thread GHC
#7349: -fth is deprecated without warning
--+-
 Reporter:  guest |  Owner:  
 Type:  bug   | Status:  patch   
 Priority:  normal|  Component:  Compiler
  Version:  7.6.1 |   Keywords:  
   Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown  |   Testcase:  
Blockedby:|   Blocking:  
  Related:|  
--+-
Changes (by guest):

  * status:  new => patch


Comment:

 Fix is a one-liner. Bug: The operator (>>) was used for the (->) r monad,
 instead of DynP, and it ignored its left argument.

 {{{
 diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
 index 121c85f..138cb99 100644
 --- a/compiler/main/DynFlags.hs
 +++ b/compiler/main/DynFlags.hs
 @@ -2372,7 +2372,7 @@ fFlags = [
  fLangFlags :: [FlagSpec ExtensionFlag]
  fLangFlags = [
( "th",   Opt_TemplateHaskell,
 -deprecatedForExtension "TemplateHaskell" >> checkTemplateHaskellOk ),
 +\x -> deprecatedForExtension "TemplateHaskell" x >>
 checkTemplateHaskellOk x ),
( "fi",   Opt_ForeignFunctionInterface,
  deprecatedForExtension "ForeignFunctionInterface" ),
( "ffi",  Opt_ForeignFunctionInterface,
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

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