1. 13 Jun, 2020 36 commits
  2. 11 Jun, 2020 1 commit
  3. 10 Jun, 2020 3 commits
    • Sylvain Henry's avatar
      test: fix conc038 · 8d07c48c
      Sylvain Henry authored and  Marge Bot's avatar Marge Bot committed
      We had spurious failures of conc038 test on CI with stdout:
      
      ```
       newThread started
      -mainThread
      -Haskell: 2
       newThread back again
      +mainThread
       1 sec later
      
       shutting down
      +Haskell: 2
      ```
      8d07c48c
    • Roland Senn's avatar
      Initialize the allocation counter in GHCi to 0 (Fixes #16012) · 9b283e1b
      Roland Senn authored and  Marge Bot's avatar Marge Bot committed
      According to the documentation for the function `getAllocationCounter` in
      [System.Mem](http://hackage.haskell.org/package/base-4.14.0.0/docs/System-Mem.html)
      initialize the allocationCounter also in GHCi to 0.
      9b283e1b
    • Luke Lau's avatar
      Fix lookupGlobalOccRn_maybe sometimes reporting an error · 32fd37f5
      Luke Lau authored and  Marge Bot's avatar Marge Bot committed
      In some cases it was possible for lookupGlobalOccRn_maybe to return an
      error, when it should be returning a Nothing. If it called
      lookupExactOcc_either when there were no matching GlobalRdrElts in the
      otherwise case, it would return an error message. This could be caused
      when lookupThName_maybe in Template Haskell was looking in different
      namespaces (thRdrNameGuesses), guessing different namespaces that the
      name wasn't guaranteed to be found in.
      
      However, by addressing this some more accurate errors were being lost in
      the conversion to Maybes. So some of the lookup* functions have been
      shuffled about so that errors should always be ignored in
      lookup*_maybes, and propagated otherwise.
      
      This fixes #18263
      32fd37f5