1. 22 Feb, 2019 6 commits
  2. 21 Feb, 2019 4 commits
  3. 20 Feb, 2019 9 commits
  4. 19 Feb, 2019 6 commits
  5. 18 Feb, 2019 4 commits
    • Alec Theriault's avatar
      Uphold AvailTC Invariant for associated data fams · 2a431640
      Alec Theriault authored
      The AvailTC was not be upheld for explicit export module
      export lists when the module contains associated data families.
          module A (module A) where
          class    C a  where { data T a }
          instance C () where { data T () = D }
      Used to (incorrectly) report avails as `[C{C, T;}, T{D;}]`. Note that
      although `T` is exported, the avail where it is the parent does _not_
      list it as its first element. This avail is now correctly listed as
      `[C{C, T;}, T{T, D;}]`.
      This was induces a [crash in Haddock][0].
      See #16077.
      [0]: https://github.com/haskell/haddock/issues/979
    • Vladislav Zavialov's avatar
      Fix warnings and fatal parsing errors · 1ffee940
      Vladislav Zavialov authored and  Marge Bot's avatar Marge Bot committed
    • Simon Peyton Jones's avatar
      Get rid of tcm_smart from TyCoMapper · 1f1b9e35
      Simon Peyton Jones authored and  Marge Bot's avatar Marge Bot committed
      Following a succession of refactorings of the type checker,
      culminating in the patch
             Make a smart mkAppTyM
      we have got rid of mkNakedAppTy etc.  And that in turn
      meant that the tcm_smart field of the generic TyCoMapper
      (in Type.hs) was entirely unused.  It was always set to True.
      So this patch just gets rid of it completely.  Less code,
      less complexity, and more efficient because fewer higher-order
      function calls.  Everyone wins.
      No change in behaviour; this does not cure any bugs!
    • Tamar Christina's avatar
      Testsuite: implement use_specs. · 0fff3ae6
      Tamar Christina authored and  Marge Bot's avatar Marge Bot committed
  6. 17 Feb, 2019 2 commits
    • Alec Theriault's avatar
      Run some of Haddock's tests in the testsuite · 4a09d30b
      Alec Theriault authored and  Marge Bot's avatar Marge Bot committed
      The 4 main testsuites in Haddock don't have many dependencies, but are
      regularly broken in small ways by changes to the GHC AST or the GHC API.
      The main gotcha is that we'll have to make sure that `haddock-test` and
      the test suite don't add modules without modifying this test. Then again,
      if that happens, the test will fail and someone will noticed.
    • Peter Trommler's avatar
      Cmm: Promote stack arguments to word size · af7b0fdb
      Peter Trommler authored and  Marge Bot's avatar Marge Bot committed
      Smaller than word size integers must be promoted to word size
      when passed on the stack. While on little endian systems we can
      get away with writing a small integer to a word size stack slot
      and read it as a word ignoring the upper bits, on big endian
      systems a small integer write ends up in the most significant
      bits and a word size read that ignores the upper bits delivers
      a random value.
      On little endian systems a smaller than word size write to
      the stack might be more efficient but that decision is
      system specific and should be done as an optimization in the
      respective backends.
      Fixes #16258
  7. 16 Feb, 2019 6 commits
  8. 15 Feb, 2019 3 commits