Skip to content
Snippets Groups Projects
  1. Jun 09, 2017
  2. Jun 06, 2017
    • Edward Z. Yang's avatar
      Fix test suite wobbliness on GHC 8.2. · b5d1e190
      Edward Z. Yang authored
      
      Here were the root causes:
      
      - Some tests involving Custom setpu showed MORE output
        (UseLocalPackageForSetup) when run on GHC 8.2.  This is because GHC
        8.2 ships a recent enough version of Cabal to know how to emit
        markers, which means we have started picking up the output.  I hacked
        up these tests to not accept this output, but a more correct thing to
        do is figure out how to NOT request marking of a Setup script which is
        not the inplace install.  This was a little tricky so I bailed.
      
      - GHC 8.2 no longer emits "It is a member of the hidden package".
        This broke CustomWithoutCabalDefaultMain.  Not sure if this
        is a GHC regression but it's pretty harmless.
      
      - While I was at it, I fixed an inexhaustive pattern match in
        cabal-testsuite (though perhaps poorly; I couldn't figure out
        what the new constructor does.)
      
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      b5d1e190
  3. Jun 05, 2017
  4. Jun 04, 2017
  5. May 29, 2017
  6. May 25, 2017
    • Herbert Valerio Riedel's avatar
      Workaround invalid .cabal files with Main modules in other-extensions · 47845856
      Herbert Valerio Riedel authored
      `other-modules` is intended for non-main modules (which is also stated
      in the cabal manual). Unfortunately, a few packages, such as `happy` do
      incorrectly specify `other-modules: Main` for their executables, thereby
      causing GHC to complain about duplicate Main modules.
      
      The workaround implemented here is to filter out the main module
      name (while taking into account `ghc-options: -main-is ...`) from the
      `other-modules` passed to GHC, and emit a warning in the process.
      47845856
    • Joel Bitrauser's avatar
      Merge pull request #4536 · 58062f57
      Joel Bitrauser authored
      Refactor ProjectConfig Arbitrary instances
      58062f57
  7. May 24, 2017
  8. May 23, 2017
  9. May 22, 2017
  10. May 19, 2017
  11. May 18, 2017
Loading