diff options
author | Ben Gamari <ben@smart-cactus.org> | 2016-01-21 14:49:01 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-01-21 14:59:06 +0100 |
commit | 3883f99c7ea99204a2f15c1e4b7521a4c0b1c527 (patch) | |
tree | a7d9dfb9de47eb736289d2b51711ac30356b77a2 /docs | |
parent | 928484d2b021fc968d5f2dfe490dc0ad201dc7df (diff) | |
download | haskell-3883f99c7ea99204a2f15c1e4b7521a4c0b1c527.tar.gz |
rel-notes: Note the return of -Wmonomorphism-restriction
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/8.0.1-notes.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/users_guide/8.0.1-notes.rst b/docs/users_guide/8.0.1-notes.rst index c36c721be5..e8a2c0e902 100644 --- a/docs/users_guide/8.0.1-notes.rst +++ b/docs/users_guide/8.0.1-notes.rst @@ -200,7 +200,7 @@ Compiler compilers. The old ``-f``-based warning flags will remain functional for the forseeable future. -- Added the option :ghc-flag:`-dth-dec-file`. This dumps out a .th.hs file of +- Added the option :ghc-flag:`-dth-dec-file`. This dumps out a ``.th.hs`` file of all Template Haskell declarations in a corresponding .hs file. The idea is that application developers can check this into their repository so that they can grep for identifiers used elsewhere that @@ -210,6 +210,13 @@ Compiler code that does not exist in the .hs file and a comment for the splice location in the original file. +- After a long hiatus (see :ghc-ticket:`10935`) the + :ghc-flag:`-Wmonomorphism-restriction` (formerly + :ghc-flag:`-fwarn-monomorphism-restriction`) flag has returned. + The functionality of this flag was inadvertently removed by a commit in 2010; + this has been fixed and the flag should now issue warnings as it + previously did. + - Added the option :ghc-flag:`-fprint-expanded-types`. When enabled, GHC also prints type-synonym-expanded types in type errors. |