#4851: NoImplicitPrelude does not handle rec / mfix / ArrowLoop properly
----------------------------------------+-----------------------------------
  Reporter:  peteg                      |          Owner:                  
      Type:  bug                        |         Status:  closed          
  Priority:  normal                     |      Milestone:  7.4.1           
 Component:  Compiler                   |        Version:  6.12.3          
Resolution:  fixed                      |       Keywords:                  
  Testcase:  rebindable/T4851           |      Blockedby:                  
Difficulty:                             |             Os:  Unknown/Multiple
  Blocking:                             |   Architecture:  Unknown/Multiple
   Failure:  GHC rejects valid program  |  
----------------------------------------+-----------------------------------
Changes (by simonpj):

  * status:  new => closed
  * testcase:  => rebindable/T4851
  * resolution:  => fixed


Comment:

 I managed to fix this as part of the monad-comprehension stuff #4370. The
 actual commit is
 {{{
 commit d4780d48bb8a665a2cdaa5e2c6e4bfbc87298fd0
 Author: Simon Peyton Jones <[email protected]>
 Date:   Wed May 4 23:09:53 2011 +0100

     Do-notation in an arrow context is not rebindable

     Fixes Trac #4851

  compiler/rename/RnExpr.lhs |   21 ++++++++++++++++++---
  1 files changed, 18 insertions(+), 3 deletions(-)
 }}}
 Simon

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