[Git][ghc/ghc][wip/strings-refactor] 3 commits: Convert Diagnostics in GHC.Tc.Gen.Splice (#20116)

Krzysztof Gogolewski (@monoidal) gitlab at gitlab.haskell.org
Mon Oct 24 20:06:47 UTC 2022



Krzysztof Gogolewski pushed to branch wip/strings-refactor at Glasgow Haskell Compiler / GHC


Commits:
0614e74d by Aaron Allen at 2022-10-24T17:11:21+02:00
Convert Diagnostics in GHC.Tc.Gen.Splice (#20116)

Replaces uses of `TcRnUnknownMessage` in `GHC.Tc.Gen.Splice` with
structured diagnostics.

closes #20116

- - - - -
8d2dbe2d by Andreas Klebinger at 2022-10-24T15:59:41-04:00
Improve stg lint for unboxed sums.

It now properly lints cases where sums end up distributed
over multiple args after unarise.

Fixes #22026.

- - - - -
4c0877d0 by Krzysztof Gogolewski at 2022-10-24T22:05:40+02:00
Cleanup String/FastString conversions

Remove unused mkPtrString and isUnderscoreFS.
We no longer use mkPtrString since 1d03d8bef96.

Remove unnecessary conversions between FastString and String and back.

- - - - -


30 changed files:

- compiler/GHC/Core/Opt/Stats.hs
- compiler/GHC/Data/FastString.hs
- compiler/GHC/Hs/Dump.hs
- compiler/GHC/HsToCore/Foreign/C.hs
- compiler/GHC/HsToCore/Pmc/Solver/Types.hs
- compiler/GHC/HsToCore/Quote.hs
- compiler/GHC/Parser.y
- compiler/GHC/Parser/HaddockLex.x
- compiler/GHC/Parser/PostProcess.hs
- compiler/GHC/Stg/Lint.hs
- compiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Errors/Types.hs
- compiler/GHC/Tc/Gen/Splice.hs
- compiler/GHC/Tc/Utils/Backpack.hs
- compiler/GHC/Tc/Utils/Env.hs
- compiler/GHC/ThToHs.hs
- compiler/GHC/Types/CostCentre.hs
- compiler/GHC/Types/Error/Codes.hs
- compiler/GHC/Types/FieldLabel.hs
- compiler/GHC/Types/Literal.hs
- compiler/GHC/Types/Name/Occurrence.hs
- compiler/GHC/Types/Name/Occurrence.hs-boot
- compiler/GHC/Unit/State.hs
- ghc/GHCi/UI.hs
- testsuite/tests/annotations/should_fail/annfail12.stderr
- testsuite/tests/perf/compiler/MultiLayerModulesTH_Make.stderr
- testsuite/tests/perf/compiler/MultiLayerModulesTH_OneShot.stderr
- testsuite/tests/showIface/should_fail/THPutDocExternal.stderr
- testsuite/tests/showIface/should_fail/THPutDocNonExistent.stderr
- testsuite/tests/th/ClosedFam1TH.stderr


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/854921d93111d22be8602a3f2218eb42a6900c33...4c0877d05463d767f632eb540a59e756b48f46a5

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/854921d93111d22be8602a3f2218eb42a6900c33...4c0877d05463d767f632eb540a59e756b48f46a5
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/20221024/c32e4d06/attachment.html>


More information about the ghc-commits mailing list