From 3883f99c7ea99204a2f15c1e4b7521a4c0b1c527 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Thu, 21 Jan 2016 14:49:01 +0100 Subject: rel-notes: Note the return of -Wmonomorphism-restriction --- docs/users_guide/8.0.1-notes.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'docs') 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. -- cgit v1.2.1