1. 30 Aug, 2016 5 commits
  2. 29 Aug, 2016 3 commits
    • Ryan Scott's avatar
      Remove unused DerivInst constructor for DerivStuff · f4384ef5
      Ryan Scott authored
      Summary:
      Back when derived `Generic` instances used to generate auxiliary datatypes,
      they would also generate instances for those datatypes. Nowadays, GHC generics
      uses a `DataKinds`-based encoding that requires neither auxiliary datatypes
      (corresponding to the `DerivTyCon` constructor of `DerivStuff`) nor instances
      for them (the `DerivInst` constructor of `DerivStuff`). It appears that
      `DerivTyCon` constructor was removed at some point, but `DerivInst` never was.
      
      No `DerivInst` values are ever constructed, so we can safely remove it.
      
      Test Plan: It builds
      
      Reviewers: austin, hvr, bgamari
      
      Reviewed By: bgamari
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2481
      f4384ef5
    • Ryan Scott's avatar
      Fix broken Haddock comment · 822af416
      Ryan Scott authored
      822af416
    • Ryan Scott's avatar
      Template Haskell support for TypeApplications · 983f6609
      Ryan Scott authored
      Summary: Fixes #12530.
      
      Test Plan: make test TEST=12530
      
      Reviewers: austin, bgamari, hvr, goldfire
      
      Reviewed By: goldfire
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2472
      
      GHC Trac Issues: #12530
      983f6609
  3. 28 Aug, 2016 1 commit
  4. 26 Aug, 2016 4 commits
  5. 25 Aug, 2016 5 commits
  6. 23 Aug, 2016 3 commits
    • Ryan Scott's avatar
      Template Haskell support for unboxed sums · 613d7455
      Ryan Scott authored
      This adds new constructors `UnboxedSumE`, `UnboxedSumT`, and
      `UnboxedSumP` to represent unboxed sums in Template Haskell.
      
      One thing you can't currently do is, e.g., `reify ''(#||#)`, since I
      don't believe unboxed sum type/data constructors can be written in
      prefix form.  I will look at fixing that as part of #12514.
      
      Fixes #12478.
      
      Test Plan: make test TEST=T12478_{1,2,3}
      
      Reviewers: osa1, goldfire, austin, bgamari
      
      Reviewed By: goldfire, bgamari
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2448
      
      GHC Trac Issues: #12478
      613d7455
    • mniip's avatar
      RtClosureInspect: Fix off-by-one error in cvReconstructType · 1766bb3c
      mniip authored
      Replaced error-prone index manipulation on a pointer array with
      a simple fold on the array elements.
      
      Test Plan: Added a test case that triggers the bug
      
      Reviewers: hvr, austin, bgamari
      
      Reviewed By: bgamari
      
      Subscribers: simonpj, thomie
      
      Differential Revision: https://phabricator.haskell.org/D2439
      
      GHC Trac Issues: #12458
      1766bb3c
    • Ömer Sinan Ağacan's avatar
      Add T12520 as a test · 89facad2
      Ömer Sinan Ağacan authored
        #12520 was already fixed in HEAD. Adding a test to make sure it stays fixed.
      89facad2
  7. 22 Aug, 2016 4 commits
    • Ryan Scott's avatar
      Move #12403, #12513 users guide notes to 8.2.1 release notes · acdbd16f
      Ryan Scott authored
      The changes in #12403 and #12513 subtly changed the behavior of Template
      Haskell reification and splicing. While the old behavior was certainly buggy,
      it's possible that there's code in the wild that depended on the old behavior
      to work. To err on the side of caution, I'll postpone these changes to GHC
      8.2.1 instead of having them merged into GHC 8.0.2.
      acdbd16f
    • Edward Z. Yang's avatar
      1f75440f
    • Ryan Scott's avatar
      Splice singleton unboxed tuples correctly with Template Haskell · fb0d87f1
      Ryan Scott authored
      Summary:
      Previously, TH would implicitly remove the parentheses when splicing in
      singleton unboxed tuple types (e.g., turning `(# Int #)` into `Int`). Luckily,
      the fix is simply to delete some code.
      
      Fixes #12513.
      
      Test Plan: make test TEST=T12513
      
      Reviewers: hvr, bgamari, austin, goldfire
      
      Reviewed By: goldfire
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D2462
      
      GHC Trac Issues: #12513
      fb0d87f1
    • kgardas's avatar
      pass -z wxneeded or -Wl,-zwxneeded for linking on OpenBSD · f9aa996f
      kgardas authored
      Summary:
      This patch fixes issue with abort in GHCi on OpenBSD current
      as of Aug 12 2016. The OpenBSD is more and more strict about usage
      of writable and executable memory. Programs/applications which
      requires such functionality need to be linked with -z wxneeded linker
      flag and need to be run from the file-system mounted with wxallowed
      mount option. If either of those options in not met, then problematic
      program/application usually fail on some mmap/mprotect call which fail.
      
      Reviewers: bgamari, austin, hvr
      
      Subscribers: thomie, erikd
      
      Differential Revision: https://phabricator.haskell.org/D2454
      f9aa996f
  8. 21 Aug, 2016 8 commits
  9. 19 Aug, 2016 1 commit
  10. 18 Aug, 2016 1 commit
  11. 17 Aug, 2016 4 commits
  12. 16 Aug, 2016 1 commit