#3008: Strange behavior when using newtyped version of IO monad in FFI import
declarations
-------------------------------+--------------------------------------------
    Reporter:  waern           |        Owner:         
        Type:  bug             |       Status:  new    
    Priority:  normal          |    Milestone:         
   Component:  Compiler        |      Version:  6.10.1 
    Severity:  normal          |   Resolution:         
    Keywords:  FFI             |   Difficulty:  Unknown
    Testcase:                  |           Os:  Linux  
Architecture:  x86_64 (amd64)  |  
-------------------------------+--------------------------------------------
Changes (by simonpj):

  * difficulty:  => Unknown

Comment:

 Excellent report.

 The real culprit is in the FFI spec: see http://www.haskell.org/pipermail
 /haskell-prime/2009-February/002726.html.

 Until that thread is resolved, you can work around this bug by exporting
 `GL(..)`.  Indeed, if my proposal is accepted, you'll be forced to do
 that.

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3008#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to