#3165: :history throws "Irrefutable pattern failed" exception
---------------------------+------------------------------------------------
  Reporter:  greenrd       |          Owner:        
      Type:  bug           |         Status:  new   
  Priority:  normal        |      Milestone:  6.12.1
 Component:  GHCi          |        Version:  6.10.2
Resolution:                |       Keywords:        
  Testcase:                |      Blockedby:        
Difficulty:  Unknown       |             Os:  Linux 
  Blocking:                |   Architecture:  x86   
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------
Changes (by mnislaih):

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


Comment:

 Actually the bug exists still in HEAD (7.0). I ran across it and took the
 time to fix it, closing a long standing TODO in InteractiveEval.hs

 I am attaching the fix for merging to HEAD. The patch is lightweight
 enough to include it in 7.01 imho. Instead of looking around to find the
 enclosing declaration  of a tick, this patch makes use of the information
 already collected during the coverage desugaring phase.

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