Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/5b988961338f73af5790bfd365ca79c858249cea

>---------------------------------------------------------------

commit 5b988961338f73af5790bfd365ca79c858249cea
Author: Ian Lynagh <[email protected]>
Date:   Fri Sep 30 21:57:53 2011 +0100

    Handle newtypes and type functions correctly in FFI types; fixes #3008
    
    You can now use type functions in FFI types.
    
    Newtypes are now only looked through if the constructor is in scope.

 compiler/deSugar/DsCCall.lhs     |    4 +-
 compiler/deSugar/DsForeign.lhs   |   82 +++++++++++---------
 compiler/deSugar/DsMeta.hs       |    2 +-
 compiler/hsSyn/Convert.lhs       |    4 +-
 compiler/hsSyn/HsDecls.lhs       |   32 +++++++-
 compiler/hsSyn/HsUtils.lhs       |    2 +-
 compiler/parser/RdrHsSyn.lhs     |    6 +-
 compiler/rename/RnNames.lhs      |    2 +-
 compiler/rename/RnSource.lhs     |    8 +-
 compiler/typecheck/TcForeign.lhs |  160 +++++++++++++++++++++++++-------------
 compiler/typecheck/TcHsSyn.lhs   |    4 +-
 compiler/typecheck/TcType.lhs    |   48 ++++--------
 compiler/types/FamInstEnv.lhs    |    2 +-
 utils/ghctags/Main.hs            |    2 +-
 14 files changed, 213 insertions(+), 145 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 5b988961338f73af5790bfd365ca79c858249cea

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to