Skip to content
Snippets Groups Projects
Commit ab1767d5 authored by Simon Peyton Jones's avatar Simon Peyton Jones Committed by Marge Bot
Browse files

Add a release-notes entry for -Wincomplete-record-selectors

parent e59fe5c6
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,15 @@ for specific guidance on migrating programs to this release.
Language
~~~~~~~~
* ``-Wincomplete-record-selectors`` is now part of `-Wall`, as specified
by `GHC Proposal 516: add warning for incomplete record selectors <https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0516-incomplete-record-selectors.rst>_`.
Hence, if a library is compiled with ``-Werror``, compilation may now fail. Solution: fix the library.
Workaround: add ``-Werror=no-incomplete-record-selectors``.
Note that this warning is at least
as serious as a warning about missing patterns from a function definition, perhaps even
more so, since it is invisible in the source program.
Compiler
~~~~~~~~
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment