[GHC] #10461: Suggest UnliftedFFITypes when applicable

GHC ghc-devs at haskell.org
Tue Jun 2 16:37:22 UTC 2015


#10461: Suggest UnliftedFFITypes when applicable
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                   Owner:  ezyang
            Type:  bug               |                  Status:  new
        Priority:  low               |               Milestone:
       Component:  Compiler (Type    |                 Version:  7.11
  checker)                           |                Keywords:
      Resolution:                    |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  Incorrect         |               Test Case:
  warning at compile-time            |                Blocking:
      Blocked By:                    |  Differential Revisions:
 Related Tickets:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"3758050f02c1de6af41c50ed122b3df012d400ff/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="3758050f02c1de6af41c50ed122b3df012d400ff"
 Improve FFI error reporting

 I refactored TcType FFI functions to return Validity rather than Bool,
 which turned out to be an easy way to solve Trac #10461.
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10461#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list