1. 17 Jul, 2015 2 commits
    • thomie's avatar
      Update assert to fix retc001 and retc002 (#9243) · bc604bdb
      thomie authored
      Since 2223e196, maybe_old_linkable can
      be Nothing even with an up-to-date interface file. This happens when
      compiling with --make -fno-code -fwrite-interface.
      
      See also Note [Recompilation checking when typechecking only] in
      GhcMake.hs.
      
      This fixes retc001 and retc002 when ghc_debugged.
      
      Differential Revision: https://phabricator.haskell.org/D1077
      bc604bdb
    • niteria's avatar
      Reduce non-determinism in ABI hashes with RULES and instance decls · 3448f982
      niteria authored
      Summary:
      Before this change the `RULES` would be attached to one for the names from
      the module that appear on the left hand side. The choice depended on the
      `uniq` that was generated, which are known to be non-deterministic (a
      separate, bigger problem). Now we use `OccName`s which should be stable.
      
      Analogously for instance declarations, but they are attached to one of
      the types involved.
      
      Test Plan:
      contbuild
      it made `Data.Text.Internal.Fusion.Common` interface stable, previously
      stream fusion rule would be attached either to `streamList` or
      `unstreamList` depending on if the module was compiled after `cabal
      clean` or after `find | grep '\.o$' | xargs rm`.
      
      Reviewers: simonpj, austin, bgamari, simonmar
      
      Subscribers: puffnfresh, thomie
      
      Differential Revision: https://phabricator.haskell.org/D1073
      
      GHC Trac Issues: #4012
      3448f982
  2. 16 Jul, 2015 12 commits
  3. 15 Jul, 2015 9 commits
  4. 14 Jul, 2015 3 commits
  5. 13 Jul, 2015 14 commits