1. 02 Apr, 2008 2 commits
    • simonpj@microsoft.com's avatar
      Fix Trac #2141: invalid record update · 1c9ffbe6
      simonpj@microsoft.com authored
      See Note [Record field lookup] in TcEnv.  The fix here
      is quite straightforward.
    • Simon Marlow's avatar
      Do not #include external header files when compiling via C · c245355e
      Simon Marlow authored
      This has several advantages:
       - -fvia-C is consistent with -fasm with respect to FFI declarations:
         both bind to the ABI, not the API.
       - foreign calls can now be inlined freely across module boundaries, since
         a header file is not required when compiling the call.
       - bootstrapping via C will be more reliable, because this difference
         in behavour between the two backends has been removed.
      There is one disadvantage:
       - we get no checking by the C compiler that the FFI declaration
         is correct.
      So now, the c-includes field in a .cabal file is always ignored by
      GHC, as are header files specified in an FFI declaration.  This was
      previously the case only for -fasm compilations, now it is also the
      case for -fvia-C too.
  2. 30 Mar, 2008 1 commit
  3. 29 Mar, 2008 34 commits
  4. 28 Mar, 2008 2 commits
  5. 27 Mar, 2008 1 commit