[project @ 2000-07-24 14:29:55 by simonmar]
authorsimonmar <unknown>
Mon, 24 Jul 2000 14:29:55 +0000 (14:29 +0000)
committersimonmar <unknown>
Mon, 24 Jul 2000 14:29:55 +0000 (14:29 +0000)
commit1da7b45d4cf8c70dae8525a00eb2cd68160cf813
tree149b1688658a7115477e2ca339b94b1277fdbbbc
parentc8a6996a324bc39e71f72053e5902e669aeb0209
[project @ 2000-07-24 14:29:55 by simonmar]
Some changes to the way FFI decls are handled:

  - a foreign export dynamic which returns a newtype of
    an Addr now works correctly.  Similarly for foreign label.

  - unlifted types are not allowed in the arguments of a foreign
    export.  Previously we generated incorrect code for these cases.

Newtypes in FFI declarations now work everywhere they should, as far
as I can see.

These changes will be backported into 4.08.1.
ghc/compiler/deSugar/DsForeign.lhs
ghc/compiler/prelude/TysWiredIn.lhs
ghc/compiler/typecheck/TcForeign.lhs