[Git][ghc/ghc][wip/amg/fieldselectors] 12 commits: Simplify definition of AvailInfo

Adam Gundry gitlab at gitlab.haskell.org
Wed Dec 2 22:57:04 UTC 2020



Adam Gundry pushed to branch wip/amg/fieldselectors at Glasgow Haskell Compiler / GHC


Commits:
655acd4d by Adam Gundry at 2020-12-01T09:30:11+00:00
Simplify definition of AvailInfo

This bumps the haddock submodule.

- - - - -
7542d353 by Adam Gundry at 2020-12-02T22:55:54+00:00
Simplify IncorrectParent

- - - - -
913a5076 by Adam Gundry at 2020-12-02T22:55:54+00:00
Clean up now that #18452 is fixed

- - - - -
3505bb1a by Simon Hafner at 2020-12-02T22:55:54+00:00
Implement NoFieldSelectors extension (ghc-proposals 160)

Record field selectors created under NoFieldSelectors are not accessible as functions,
but users are still able to use them for record construction, pattern matching and updates.

Co-authored-by: Fumiaki Kinoshita <fumiexcel at gmail.com>
Co-authored-by: Adam Gundry <adam at well-typed.com>

- - - - -
005033cf by Adam Gundry at 2020-12-02T22:55:54+00:00
Exclude NoFieldSelectors GREs from similarNameSuggestions

- - - - -
b1ad37fe by Adam Gundry at 2020-12-02T22:55:54+00:00
Hackily correct for T11941

- - - - -
fa29fe74 by Adam Gundry at 2020-12-02T22:55:54+00:00
Correct NoFieldSelectors tests

- - - - -
7289c59c by Adam Gundry at 2020-12-02T22:55:54+00:00
Refactor and clean up GHC.Rename.Env

- - - - -
6c279604 by Adam Gundry at 2020-12-02T22:55:54+00:00
Tweak fieldSelectorSuggestions message

- - - - -
489db05a by Adam Gundry at 2020-12-02T22:55:54+00:00
Slightly clean up rnExpr

- - - - -
316db0a0 by Adam Gundry at 2020-12-02T22:55:54+00:00
Call keepAlive when HasField uses a record selector

- - - - -
ebef58c4 by Adam Gundry at 2020-12-02T22:55:54+00:00
Add test of -Wunused-top-binds with HasField

- - - - -


30 changed files:

- compiler/GHC/Builtin/Utils.hs
- compiler/GHC/Driver/Session.hs
- compiler/GHC/Iface/Ext/Ast.hs
- compiler/GHC/Iface/Load.hs
- compiler/GHC/Iface/Make.hs
- compiler/GHC/Iface/Rename.hs
- compiler/GHC/Rename/Env.hs
- compiler/GHC/Rename/Expr.hs
- compiler/GHC/Rename/Module.hs
- compiler/GHC/Rename/Names.hs
- compiler/GHC/Rename/Pat.hs
- compiler/GHC/Rename/Splice.hs
- compiler/GHC/Rename/Unbound.hs
- compiler/GHC/Rename/Utils.hs
- compiler/GHC/Tc/Gen/Export.hs
- compiler/GHC/Tc/Gen/Expr.hs
- compiler/GHC/Tc/Gen/Head.hs
- compiler/GHC/Tc/Gen/Splice.hs
- compiler/GHC/Tc/Instance/Class.hs
- compiler/GHC/Types/Avail.hs
- compiler/GHC/Types/FieldLabel.hs
- compiler/GHC/Types/Name/Reader.hs
- compiler/GHC/Types/Name/Shape.hs
- compiler/GHC/Types/TyThing.hs
- + docs/users_guide/exts/field_selectors.rst
- docs/users_guide/exts/records.rst
- libraries/ghc-boot-th/GHC/LanguageExtensions/Type.hs
- testsuite/tests/driver/T4437.hs
- + testsuite/tests/ghci/GHCiDRF/GHCiDRF.T
- + testsuite/tests/ghci/GHCiDRF/GHCiDRF.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/162738d2f027c54ea7fe081c2308ed5f10a535d7...ebef58c4553d4b8c18a25af3bdcf0ac01d7aa552

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/162738d2f027c54ea7fe081c2308ed5f10a535d7...ebef58c4553d4b8c18a25af3bdcf0ac01d7aa552
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/20201202/d8fa8414/attachment.html>


More information about the ghc-commits mailing list