1. 09 Jun, 2022 7 commits
  2. 07 Jun, 2022 2 commits
  3. 06 Jun, 2022 3 commits
  4. 02 Jun, 2022 10 commits
  5. 01 Jun, 2022 11 commits
    • Ben Gamari's avatar
      Bump Cabal submodule · 24b5bb61
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      To current `master`.
      
      (cherry picked from commit fbb59c212415188486aafd970eafef170516356a)
      24b5bb61
    • Ben Gamari's avatar
      Bump bytestring, process, and text submodules · 87295e6d
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      Metric Decrease:
          T5631
      Metric Increase:
          T18223
      
      (cherry picked from commit 55fcee30cb3281a66f792e8673967d64619643af)
      87295e6d
    • Shlomo Shuck's avatar
      Language.Haskell.Syntax: Fix docs for PromotedConsT etc. · e07f9059
      Shlomo Shuck authored and Marge Bot's avatar Marge Bot committed
      Fixes ghc/ghc#21675.
      e07f9059
    • Matthew Pickering's avatar
      ci: Don't try to run ./boot when testing bootstrap of source dist · a12a3cab
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      a12a3cab
    • Matthew Pickering's avatar
      source-dist: Copy in files created by ./boot · 9004be3c
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      Since we started producing source dists with hadrian we stopped copying
      in the files created by ./boot which adds a dependency on python3 and
      autoreconf. This adds back in the files which were created by running
      configure.
      
      Fixes #21673 #21672 and #21626
      9004be3c
    • Eric Lindblad's avatar
      typos · 514a6a28
      Eric Lindblad authored and Marge Bot's avatar Marge Bot committed
      514a6a28
    • Pierre Le Marre's avatar
      Pure Haskell implementation of GHC.Unicode · ef7ddd73
      Pierre Le Marre authored and Marge Bot's avatar Marge Bot committed
      Switch to a pure Haskell implementation of base:GHC.Unicode, based on the implementation of the package unicode-data (https://github.com/composewell/unicode-data/).
      
      Approved by CLC as per https://github.com/haskell/core-libraries-committee/issues/59#issuecomment-1132106691.
      
      - Remove current Unicode cbits.
      - Add generator for Unicode property files from Unicode Character Database.
      - Generate internal modules.
      - Update GHC.Unicode.
      - Add unicode003 test for general categories and case mappings.
      - Add Python scripts to check 'base' Unicode tests outputs and characters properties.
      
      Fixes #21375
      
      -------------------------
      Metric Decrease:
          T16875
      Metric Increase:
          T4029
          T18304
          haddock.base
      -------------------------
      ef7ddd73
    • Matthew Pickering's avatar
      Add test for #21619 · 320270c2
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      Fixes #21619
      320270c2
    • Rodrigo Mesquita's avatar
      TTG: Rework and improve splices · 7975202b
      Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
      This commit redefines the structure of Splices in the AST.
      
      We get rid of `HsSplice` which used to represent typed and untyped
      splices, quasi quotes, and the result of splicing either an expression,
      a type or a pattern.
      
      Instead we have `HsUntypedSplice` which models an untyped splice or a
      quasi quoter, which works in practice just like untyped splices.
      
      The `HsExpr` constructor `HsSpliceE` which used to be constructed with
      an `HsSplice` is split into `HsTypedSplice` and `HsUntypedSplice`. The
      former is directly constructed with an `HsExpr` and the latter now takes
      an `HsUntypedSplice`.
      
      Both `HsType` and `Pat` constructors `HsSpliceTy` and `SplicePat` now
      take an `HsUntypedSplice` instead of a `HsSplice` (remember only
      /untyped splices/ can be spliced as types or patterns).
      
      The result of splicing an expression, type, or pattern is now
      comfortably stored in the extension fields `XSpliceTy`, `XSplicePat`,
      `XUntypedSplice` as, respectively, `HsUntypedSpliceResult (HsType
      GhcRn)`, `HsUntypedSpliceResult (Pat GhcRn)`, and `HsUntypedSpliceResult
      (HsExpr GhcRn)`
      
      Overall the TTG extension points are now better used to
      make invalid states unrepresentable and model the progression between
      stages better.
      
      See Note [Lifecycle of an untyped splice, and PendingRnSplice]
      and Note [Lifecycle of an typed splice, and PendingTcSplice] for more
      details.
      
      Updates haddock submodule
      
      Fixes #21263
      
      -------------------------
      Metric Decrease:
          hard_hole_fits
      -------------------------
      7975202b
    • Rodrigo Mesquita's avatar
      Move UntypedSpliceFlavour from L.H.S to GHC.Hs · 392ce3fc
      Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
      UntypedSpliceFlavour was only used in the client-specific `GHC.Hs.Expr`
      but was defined in the client-independent L.H.S.Expr.
      392ce3fc
    • Rodrigo Mesquita's avatar
      Restore Note [Quasi-quote overview] · a720322f
      Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
      a720322f
  6. 31 May, 2022 4 commits
    • John Ericson's avatar
      Purge `DynFlags` and `HscEnv` from some `GHC.Core` modules where it's not too hard · d4c71f09
      John Ericson authored
      Progress towards #17957
      
      Because of `CoreM`, I did not move the `DynFlags` and `HscEnv` to other
      modules as thoroughly as I usually do. This does mean that risk of
      `DynFlags` "creeping back in" is higher than it usually is.
      
      After we do the same process to the other Core passes, and then figure
      out what we want to do about `CoreM`, we can finish the job started
      here.
      
      That is a good deal more work, however, so it certainly makes sense to
      land this now.
      d4c71f09
    • Matthew Pickering's avatar
      Revert "packaging: Build perf builds with -split-sections" · 15d42a7a
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      This reverts commit 699f5935.
      
      Split sections causes segfaults in profiling way with old toolchains
      (deb9) and on windows (#21670)
      
      Fixes #21670
      15d42a7a
    • Matthew Pickering's avatar
      Build stage1 with -V as well · 0dafd3e7
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      This helps tracing errors which happen when building stage1
      0dafd3e7
    • Matthew Pickering's avatar
      hadrian: Introduce new package database for executables needed to build stage0 · 5c4421b1
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      These executables (such as hsc2hs) are built using the boot compiler and
      crucially, most libraries from the global package database.
      
      We also move other build-time executables to be built in this stage such
      as linters which also cleans up which libraries end up in the global
      package database. This allows us to remove hacks where linters-common is
      removed from the package database when a bindist is created.
      
      This fixes issues caused by infinite recursion due to bytestring adding
      a dependency on template-haskell.
      
      Fixes #21634
      5c4421b1
  7. 30 May, 2022 3 commits