
#14125: Bogus unacceptable type in foreign declaration. -------------------------------------+------------------------------------- Reporter: winter | Owner: (none) Type: bug | Status: patch Priority: high | Milestone: 8.2.2 Component: Compiler (FFI) | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects | Unknown/Multiple valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D3865 Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): Gotcha, thanks for confirming. To be on the safe side, I've updated the Diff to include a test that uses `IOErrno UnixReturn` as a return type as well. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14125#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler