1. 26 Oct, 2015 5 commits
  2. 25 Oct, 2015 3 commits
    • Alan Zimmerman's avatar
      Provide a utility to check API Annotations · 43751b24
      Alan Zimmerman authored
      It is difficult for GHC developers to know if they have broken the API
      Annotations.
      
      This patch provides a utility that can be used as a test to show up
      errors in the API Annotations.
      
      It is based on the current tests for ghc-api/annotations which can parse
      a file using the just-built GHC API, and check that no annotations are
      disconnected from the ParsedSource in the output.
      
      In addition, it should be able to dump the annotations to a file, so a
      new feature developer can check that all changes to the parser do
      provide annotations.
      
      Trac ticket: #10917
      
      Test Plan: ./validate
      
      Reviewers: hvr, thomie, austin, bgamari
      
      Reviewed By: bgamari
      
      Differential Revision: https://phabricator.haskell.org/D1368
      
      GHC Trac Issues: #10917
      43751b24
    • Erik de Castro Lopo's avatar
      rts/RtsSymbols.c: Fix Windows build · 898f34cd
      Erik de Castro Lopo authored
      Test Plan:
       - Build whole of GHC on Linux.
       - Cross-compile rts/RtsSymbols.c and rts/Linker.c to Windows using the
         i686-w64-mingw32-gcc and x86_64-w64-mingw32-gcc cross compilers.
      
      Reviewers: bgamari, awson, austin
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D1365
      898f34cd
    • Erik de Castro Lopo's avatar
      rts/Linker.c: Convert #if/#else to if/else · 3ed4b804
      Erik de Castro Lopo authored
      Test Plan: validate
      
      Reviewers: austin, bgamari
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D1366
      3ed4b804
  3. 24 Oct, 2015 6 commits
  4. 23 Oct, 2015 6 commits
  5. 22 Oct, 2015 9 commits
  6. 21 Oct, 2015 4 commits
  7. 20 Oct, 2015 3 commits
    • kanetw's avatar
      Extended default rules now specialize Foldable, Traversable to [] (#10971) · bb7e93c9
      kanetw authored
      Default rules deliberately accept any kind.
      
      Reviewed By: simonpj, thomie, goldfire
      
      Differential Revision: https://phabricator.haskell.org/D1329
      bb7e93c9
    • Jan Stolarek's avatar
      Reject top-level typed TH splices. Fixes #10945 · 1750ebc2
      Jan Stolarek authored
      When TemplateHaskell language extension is enabled it is valid to have
      top-level expressions.  Each such expression is treated as a contents
      of a splice.  The problem arises with typed splices.  They are not valid
      at the top level and therefore we should interpret them not as a splice
      but as a top-level expression (aka. implicit splice).  So saying:
      
      $$foo
      
      is equivalent of:
      
      $( $$foo )
      
      This patch makes sure that this is indeed the case.  Until now we
      incorrectly treated typed splices as explicit splices.
      1750ebc2
    • thomie's avatar
      Testsuite Windows: don't use forward slashes in topdir path · ae4acbd1
      thomie authored
      Changing backwards slashes to forward slashes apparently confuses
      msys2/mingw magic path handling. I don't quite understand why, but this
      fixes it.
      
      Test Plan: on Windows, make sure PATH does not contain
      'inplace/mingw/bin' (let the testsuite driver add it), then run: make
      TEST='ghcilink003 ghcilink006'. Before this patch, it would fail.
      
      Reviewed by: Phyx, bgamari, austin
      
      Differential Revision: https://phabricator.haskell.org/D1343
      ae4acbd1
  8. 19 Oct, 2015 3 commits
  9. 18 Oct, 2015 1 commit