#3008: Strange behavior when using newtyped version of IO monad in FFI import
declarations
-------------------------------+--------------------------------------------
    Reporter:  waern           |        Owner:  igloo       
        Type:  bug             |       Status:  new         
    Priority:  normal          |    Milestone:  7.4.1       
   Component:  Compiler (FFI)  |      Version:  6.10.1      
    Keywords:  FFI             |     Testcase:              
   Blockedby:                  |   Difficulty:  Unknown     
          Os:  Linux           |     Blocking:              
Architecture:  x86_64 (amd64)  |      Failure:  None/Unknown
-------------------------------+--------------------------------------------

Comment(by igloo@…):

 commit 4027a7ddea293c539626b17b6b434bd4f0860f80
 {{{
 Author: Ian Lynagh <[email protected]>
 Date:   Sun Sep 11 20:53:18 2011 +0100

     When checking FFI types are IO, don't look through abstract newtypes;
 #3008

  compiler/typecheck/TcForeign.lhs |   53
 +++++++++++++++++++++++++++++++++----
  1 files changed, 47 insertions(+), 6 deletions(-)
 }}}

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