[Git][ghc/ghc][wip/T20155] 24 commits: Recognize file-header pragmas in GHCi (#21507)

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Fri Aug 26 13:35:35 UTC 2022



Ben Gamari pushed to branch wip/T20155 at Glasgow Haskell Compiler / GHC


Commits:
9939e95f by MorrowM at 2022-08-21T16:51:38-04:00
Recognize file-header pragmas in GHCi (#21507)

- - - - -
fb7c2d99 by Matthew Pickering at 2022-08-21T16:52:13-04:00
hadrian: Fix bootstrapping with ghc-9.4

The error was that we were trying to link together

    containers from boot package library (which depends template-haskell in boot package library)
    template-haskell from in-tree package database

So the fix is to build containers in stage0 (and link against template-haskell built in stage0).

Fixes #21981

- - - - -
b946232c by Mario Blažević at 2022-08-22T22:06:21-04:00
Added pprType with precedence argument, as a prerequisite to fix issues #21723 and #21942.

* refines the precedence levels, adding `qualPrec` and `funPrec` to better control parenthesization
* `pprParendType`, `pprFunArgType`, and `instance Ppr Type` all just call `pprType` with proper precedence
* `ParensT` constructor is now always printed parenthesized
* adds the precedence argument to `pprTyApp` as well, as it needs to keep track and pass it down
* using `>=` instead of former `>` to match the Core type printing logic
* some test outputs have changed, losing extraneous parentheses

- - - - -
fe4ff0f7 by Mario Blažević at 2022-08-22T22:06:21-04:00
Fix and test for issue #21723

- - - - -
33968354 by Mario Blažević at 2022-08-22T22:06:21-04:00
Test for issue #21942

- - - - -
c9655251 by Mario Blažević at 2022-08-22T22:06:21-04:00
Updated the changelog

- - - - -
80102356 by Ben Gamari at 2022-08-22T22:06:57-04:00
hadrian: Don't duplicate binaries on installation

Previously we used `install` on symbolic links, which ended up
copying the target file rather than installing a symbolic link.

Fixes #22062.

- - - - -
b929063e by M Farkas-Dyck at 2022-08-24T02:37:01-04:00
Unbreak Haddock comments in `GHC.Core.Opt.WorkWrap.Utils`.

Closes #22092.

- - - - -
112e4f9c by Cheng Shao at 2022-08-24T02:37:38-04:00
driver: don't actually merge objects when ar -L works

- - - - -
a9f0e68e by Ben Gamari at 2022-08-24T02:38:13-04:00
rts: Consistently use MiB in stats output

Previously we would say `MB` even where we
meant `MiB`.
- - - - -
32288f1a by Ben Gamari at 2022-08-25T17:28:01-04:00
Drop ghcPrimIfaceHook

- - - - -
c4f70c9a by Ben Gamari at 2022-08-25T17:28:01-04:00
Rip out hacks surrounding GHC.Prim and primops

- - - - -
9c74037d by Ben Gamari at 2022-08-25T17:32:12-04:00
voidArg: not sure why

- - - - -
d509aae8 by Ben Gamari at 2022-08-25T17:32:12-04:00
Fix wired-in occurrences

- - - - -
b1364717 by Ben Gamari at 2022-08-25T17:32:12-04:00
newLetBndr

- - - - -
ccfe6027 by Ben Gamari at 2022-08-25T17:32:12-04:00
mkLocalId

- - - - -
107f76a9 by Ben Gamari at 2022-08-25T17:32:12-04:00
hasNoBinding

- - - - -
ba354343 by Ben Gamari at 2022-08-25T17:32:12-04:00
tcApp

- - - - -
66222c8b by Ben Gamari at 2022-08-25T17:32:12-04:00
Revert "newLetBndr"

This reverts commit f6e7e9e998c76dc3de56701541627555d8122274.

- - - - -
4002e111 by Ben Gamari at 2022-08-25T17:33:08-04:00
Revert "tcApp"

This reverts commit ba354343170cf9072a390b3b03c4d5e2d12c8f85.

- - - - -
442e7652 by Ben Gamari at 2022-08-26T09:07:38-04:00
tcLookup

- - - - -
dfe65e95 by Ben Gamari at 2022-08-26T09:07:45-04:00
genprimopcode

- - - - -
3c9d1f33 by Ben Gamari at 2022-08-26T09:28:09-04:00
tcLookupId

- - - - -
d6c28bb1 by Ben Gamari at 2022-08-26T09:29:48-04:00
Revert "Fix wired-in occurrences"

This reverts commit d509aae8c99e9c2c3143c3831d19e2a5d76dbbdf.

- - - - -


30 changed files:

- compiler/GHC/Builtin/Names.hs
- compiler/GHC/Builtin/PrimOps.hs
- compiler/GHC/Builtin/Uniques.hs
- compiler/GHC/Builtin/Uniques.hs-boot
- compiler/GHC/Builtin/Utils.hs
- compiler/GHC/Builtin/primops.txt.pp
- compiler/GHC/ByteCode/Instr.hs
- compiler/GHC/ByteCode/Linker.hs
- compiler/GHC/Core/Opt/WorkWrap/Utils.hs
- compiler/GHC/CoreToStg.hs
- compiler/GHC/Driver/Backpack.hs
- compiler/GHC/Driver/Env.hs
- compiler/GHC/Driver/Hooks.hs
- compiler/GHC/Driver/Main.hs
- compiler/GHC/Driver/Make.hs
- compiler/GHC/Driver/Pipeline/Execute.hs
- compiler/GHC/Iface/Load.hs
- compiler/GHC/Iface/Recomp.hs
- compiler/GHC/Parser/Header.hs
- compiler/GHC/Stg/Unarise.hs
- compiler/GHC/Tc/Instance/Typeable.hs
- compiler/GHC/Tc/Module.hs
- compiler/GHC/Tc/Utils/Env.hs
- compiler/GHC/Types/Id.hs
- compiler/GHC/Types/TyThing.hs-boot
- compiler/GHC/Unit/Finder.hs
- compiler/GHC/Unit/Module/ModSummary.hs
- docs/users_guide/9.6.1-notes.rst
- docs/users_guide/ghci.rst
- ghc.mk


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/edafb4cf0fa45f19bc0296cc114abcacb020dbdf...d6c28bb13b7d83c1516e5820268adcfe28f4996f

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/edafb4cf0fa45f19bc0296cc114abcacb020dbdf...d6c28bb13b7d83c1516e5820268adcfe28f4996f
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20220826/6a6f17b3/attachment-0001.html>


More information about the ghc-commits mailing list