[commit: ghc] master: Typo in Note name (8af1d08)

git at git.haskell.org git at git.haskell.org
Tue Mar 29 14:50:51 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8af1d0870e0a410fec8113fe867c287b2436c9c6/ghc

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

commit 8af1d0870e0a410fec8113fe867c287b2436c9c6
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Tue Mar 22 11:14:08 2016 +0100

    Typo in Note name


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

8af1d0870e0a410fec8113fe867c287b2436c9c6
 compiler/coreSyn/CoreUtils.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/coreSyn/CoreUtils.hs b/compiler/coreSyn/CoreUtils.hs
index d2da53a..1d9b83b 100644
--- a/compiler/coreSyn/CoreUtils.hs
+++ b/compiler/coreSyn/CoreUtils.hs
@@ -753,8 +753,8 @@ Note [exprIsTrivial]
                 applications.  Note that primop Ids aren't considered
                 trivial unless
 
-Note [Variable are trivial]
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Note [Variables are trivial]
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 There used to be a gruesome test for (hasNoBinding v) in the
 Var case:
         exprIsTrivial (Var v) | hasNoBinding v = idArity v == 0



More information about the ghc-commits mailing list