#3165: :history throws "Irrefutable pattern failed" exception
---------------------------+------------------------------------------------
  Reporter:  greenrd       |          Owner:  igloo 
      Type:  bug           |         Status:  patch 
  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  |  
---------------------------+------------------------------------------------

Comment(by mnislaih):

 Previously the enclosing function for a tick wrapping an entire function
 definition f was f itself.
 With this patch, the enclosing function is attributed to be the module
 itself.

 The previous output was nicer to the user, but one could argue that the
 new output is more correct.
 In my opinion it is not a big deal, and changing it to behave as before
 would involve having a hybrid approach to resolving the enclosing decl of
 a tick, which does not sound appealing at all.

 So I would say the new output is OK.

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