[commit: ghc] ghc-8.4: Fix missing code example in changelog for 8.4.1 (353ed7d)

git at git.haskell.org git at git.haskell.org
Fri Mar 2 22:34:49 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.4
Link       : http://ghc.haskell.org/trac/ghc/changeset/353ed7d7dfe08c8e9c1a4c899d10cbe258a5c031/ghc

>---------------------------------------------------------------

commit 353ed7d7dfe08c8e9c1a4c899d10cbe258a5c031
Author: Sergey Vinokurov <serg.foo at gmail.com>
Date:   Wed Feb 7 21:10:17 2018 +0000

    Fix missing code example in changelog for 8.4.1
    
    (cherry picked from commit 3ae408cf93d10b9a2e5acb4186dc8e0c62e0afb6)


>---------------------------------------------------------------

353ed7d7dfe08c8e9c1a4c899d10cbe258a5c031
 docs/users_guide/8.4.1-notes.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/users_guide/8.4.1-notes.rst b/docs/users_guide/8.4.1-notes.rst
index efd3b98..489f4c8 100644
--- a/docs/users_guide/8.4.1-notes.rst
+++ b/docs/users_guide/8.4.1-notes.rst
@@ -186,7 +186,7 @@ Compiler
     ``error``: ::
 
       instance Show (Empty a) where
-        showsPrec = "Void showsPrec"
+        showsPrec = error "Void showsPrec"
 
     Now, they emit code that inspects the argument. That is, if the argument
     diverges, then showing it will also diverge: ::



More information about the ghc-commits mailing list